Skip to content

Releases: nspec/NSpec

v3.1.0

12 Jun 13:27
Compare
Choose a tag to compare
  • 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
  • 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

03 Apr 10:35
Compare
Choose a tag to compare
  • 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

28 Mar 23:48
Compare
Choose a tag to compare
  • 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

26 Mar 01:45
Compare
Choose a tag to compare
  • 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

21 Mar 17:37
Compare
Choose a tag to compare
  • fix(content): DebuggerShim is missing NSpec.Assertions import

v3.0.3

06 Mar 12:43
Compare
Choose a tag to compare
  • fix(deps): package restore in client project fails on System.Reflection.TypeExtensions

v3.0.2

06 Mar 10:51
Compare
Choose a tag to compare

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

06 Mar 10:04
Compare
Choose a tag to compare

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

06 Mar 10:02
Compare
Choose a tag to compare
  • 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

17 Feb 18:27
Compare
Choose a tag to compare
  • Backport classic .NET Framework to 4.5.1 (from 4.5.2)