Skip to content

Releases: xp-framework/test

1.0.0: First release

09 Feb 19:35
Compare
Choose a tag to compare

This first major release serves implements the most common testing usecases, able to replace the xp-framework/unittest library. From
here on, projects can start to migrate without having to follow the frequent version jumps in a 0.x release.

  • Merged PR #12: Fix errors occuring during setup not being correctly
    reported (e.g. when exceptions are raised inside #[Before]).
    (@thekid)
  • Merged PR #11: Only verify parameterized test cases' prerequisites
    once, resulting in a small performance improvement. See issue #10
    (@thekid)
  • Merged PR #9: Implement checking for expected exceptions' messages
    (@thekid)
  • Merged PR #7: Implement passing command line arguments via #[Args]
    (@thekid)
  • Added overall time to result metrics, supplementing the currently
    reported time spent executing the test cases only
    (@thekid)
  • Fixed issue #6: Handle setup errors, showing a STOP marker and the
    exception causing it.
    (@thekid)
  • Merged PR #5: Pass [class.Name]::[pattern] to execute only test cases
    matching the given pattern
    (@thekid)
  • Merged PR #4: Generalize values annotation into provider handling
    (@thekid)
  • Renamed map() -> mappedBy() to be consisten with rest of naming
    used inside the Assertable fluent interface
    (@thekid)
  • Merged PR #3: Add map() to transform the value before comparison
    (@thekid)
  • Merged PR #1: Implement test prerequisites - @thekid