Releases: TestStack/TestStack.ConventionTests
v3.0.1
- Fixed bug in .IsStatic extension method, thanks @lundmikkel
v3.0.0
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
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
- Fixes Convention titles for two conventions
- Improves type name formatting
v2.2.0
- 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
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
v2 Release Highlights
- Can be used with any unit testing framework
- Outputs html convention report with your project conventions (living doco)
- Pre-packaged conventions