Releases: nspec/NSpec
Releases · nspec/NSpec
v3.1.0
- feat(beforeAll): fail example when parent beforeAll throws
- feat(exceptions): don't run example when before throws, preserve example exception when after throws
- fix(beforeAll): formatter reports failed test when before_all throws
- fix(beforeAll): fail example also when current context beforeAll throws
- docs(examples): fix NSpecRunner path
- chore(examples): upgrade to NSpec 3.0.7
Internal:
-
Testing
- test(formatters): LiveFormatter test does not depend on
when_running_specs
- test(formatters): move formatter tests to dedicated directory
- test(beforeAll): add test case for issue #190
- test(beforeAll): tests should fail for formatter when before_all throws
- test(beforeAll): tests body should not run when before_all throws
- test(beforeAll): example should fail when context beforeAll/before fail
- test(afterAll): example should fail when afterAll/after fail
- test(afterAll): example should fail when context afterAll/after fail
- test(before): example should fail when before fails
- test(act): example should fail when context act fails
- test(pending): example should not fail when previous hook throws
- test(after): exception thrown in afterAll/after should not override those from previous hooks
- test(xUnitFormatter): don't fail for EOL differences among OSes
- test(act): example body should run when act throws
- test(after): preserve example exception when afterAll/after throws
- test(asyncBefore): example should not run and fail when before throws
- test(asyncAfter): example should run but fail when after throws
- test(act): correct test case names when exception is unexpected
- test(xUnitFormatter): don't fail for EOL differences among OSes
- test(failFast): streamline expectations
- test(formatters): delete temp folder after XUnitFormatter test
- test(formatters): LiveFormatter test does not depend on
-
Refactorings
- refactor(context): reduce responsibilities taken by Context, ClassContext, ExampleBase (#193)
- refactor(formatters): set
alreadyWritten
flag in one place - refactor(tools): extract specific commands in package build script
-
Chore
- chore(controller): rename ExampleSelector main method
- chore(test): change casing in
describe_Levels*
tests - chore(appveyor): rename NuGet artifact
- chore(tools): add settings for VS Code on MacOS
- chore(tools): exclude packages folder for VSCode
- chore(tools): exclude bin/obj folders from VS Code
v3.0.7
- fix(formatters): XUnitFormatter does not flush output to file
- fix(formatters): XUnitFormatter output XML must start with BOM
- fix(formatters): XUnitFormatter throws when no options are set
Internals:
- chore(examples): upgrade to NSpec 3.0.6
- chore(appveyor): don't trigger CI build on example changes
- chore(tools): rename script changing CI version number
v3.0.6
- fix(package): NSpecRunner cannot run, NSpec assembly is missing
Internals:
- chore(appveyor): have distinct build number by prefixing with package version
- chore(appveyor): shallow clone repository
- chore(tools): appveyor scripts should preserve working dir on exit
- chore(examples): upgrade to NSpec 3.0.5 (the previous version)
v3.0.5
- fix(package): do not pack also dependency DLLs
- chore(examples): import NSpec.Assertions in .NET Framework sample DebuggerShim
Internals:
- chore(tools): pack library from passed configuration
v3.0.4
- fix(content): DebuggerShim is missing NSpec.Assertions import
v3.0.3
- fix(deps): package restore in client project fails on
System.Reflection.TypeExtensions
v3.0.2
NOTE: please ignore this (broken) release and skip to v3.0.3 at least.
Dummy release to trigger publishing a NuGet package from CI server (instead of a locally built one as v3.0.1)
v3.0.1
NOTE: please ignore this (broken) release and skip to v3.0.3 at least.
- chore(deps): delete net452 transitive dependencies from client project
- chore(samples): move standalone examples to top-level directory
v3.0.0
- feat(vs): integrate with Visual Studio 2015 .NET Core Preview 2 tooling
- chore(assertions): move assertions to nested namespace
See also breaking changes.
v2.0.1
- Backport classic .NET Framework to 4.5.1 (from 4.5.2)