Skip to content

Releases: TestStack/TestStack.ConventionTests

v3.0.1

13 May 04:06
Compare
Choose a tag to compare
  • Fixed bug in .IsStatic extension method, thanks @lundmikkel

v3.0.0

29 Mar 05:30
Compare
Choose a tag to compare

See http://teststackconventiontests.readthedocs.org/en/latest/changelog for the changes.

NOTE: There are a few breaking changes in v3 so make sure you check the changelog

3.0.0-beta.1

30 Jan 14:58
Compare
Choose a tag to compare

3.0 will remove external dependencies from the core project, simplify a few things and add documentation.

There is breaking changes in this release, and there will likely be more breaks throughout the beta phase

v2.2.1

01 Oct 19:14
Compare
Choose a tag to compare
  • Fixes Convention titles for two conventions
  • Improves type name formatting

v2.2.0

30 Sep 10:16
Compare
Choose a tag to compare
  • Added: Conventions now have a reason, which is reported with the html/markdown reporters (#37)
  • Enhancement: ConventionTests throws then a convention does not set a result, useful if you are writing your own custom conventions (#38)
  • Fix: HtmlReporter throws exceptions sometimes (#36)
  • Link releases from NuGet release notes section

ConventionTests v2 follows Semantic versioning

v2.1.0 - Autofac Conventions Package

28 Sep 17:16
Compare
Choose a tag to compare

This is a minor release which introduces a new package TestStack.ConventionTests.Autofac

Which contains two conventions

CanResolveAllRegisteredServices

Tries to resolve all services from your container, failing if it cannot resolve a service. You currently cannot override parameters, so if you are using automatic factories with parameters (Func<,>) this will not work

ServicesShouldOnlyHaveDependenciesWithLesserLifetime

Generally, if you have a SingleInstance which has a Transient or PerLifetimeScope service injected this is a misconfiguration, or a refactoring gone bad.

This convention will enforce that this does not happen. For Example

'Components should not depend on with greater lifetimes' for 'Autofac registrations in All AutofacContainer Registrations'
--------------------------------------------------------------------------------------------------------------------------

    TestStack.ConventionTests.Tests.Autofac.TestTypes.Foo (SingleInstance) => TestStack.ConventionTests.Tests.Autofac.TestTypes.IBar (Transient)

v2.0.0

27 Sep 20:25
Compare
Choose a tag to compare

v2 Release Highlights

  • Can be used with any unit testing framework
  • Outputs html convention report with your project conventions (living doco)
  • Pre-packaged conventions