Releases: failgood/failgood
Releases · failgood/failgood
0.9.1 "Bollerwagen" - 2024-01-03
0.9.1 "Bollerwagen" - 2024-01-03
Fixed
- Send executionStarted event for failed contexts. Idea will ignore executionFinished events for not started tests
so the error message would not appear in the test runner. (it would appear in the console output of the test runner) - Fix some edge cases with the new junit engine.
- Fix running "all tests in project" by adding a fake test, because idea does not tests when the initial test plan is empty
Changed
- Improve handling of duplicate root context names by making them unique by adding a number(tests, tests-1, tests-2)
- Default to the new junit engine. you can still use
-Dfailgood.new.junit=false
to use the old one
0.9.0 - "Pork Roast"
0.9.0 - "Pork Roast" - 2023-12-23
Highlights of 0.9 are the new junit engine and the extended support for fixtures via given
There are also new deprecations while the api is fine-tuned in response to using failgood in all kinds
of test suites.
Use idea inspect code to automatically replace deprecated versions.
Fixed
- afterEach and dependency are no longer available in the TestDSL, where it makes no sense to have them.
Changed
- tests are now created via
val tests = tests { ... }
orval tests = testsFor("...") {}
. top leveldescribe
functions are deprecated. Use idea inspect code to automatically replace deprecated versions. - Given is now accessed via a
given
property instead of a parameter to the test function - Given block can now lazily access the parent context
- Private test classes now throw an error instead of being ignored. Now that we find tests by Annotation, it
makes no sense to mark a class as a Test and make it private. - The Root context name now contains the name of the test file when it makes sense
Added
- Added SuspendAutoCloseable interface with a suspend close function and support it in the autoClose method
- The Root context can now also have a given block
- New junit platform engine that is totally async
To try it out add-Dfailgood.new.junit=true
to your test run or set it injunit-platform.properties
.
It works pretty well and will become the default before 1.0
Changed
- Remove all deprecated methods
V0.8.3 " Beggars Banquet" - 2022-11-29
0.8.3 " Beggars Banquet" - 2022-11-29
Ok another bugfix release before 0.9
Fixed
- don't report ignored tests that should not run (#160)
- ignore tests that can not be instantiated in pitest plugin
V0.8.2 "Blast First"
0.8.2 "Blast First" - 2022-10-02
This version will be the last before 0.9 where all deprecated methods will be removed.
0.9.x versions will be beta/release candidate versions for 1.0
Changed
Fixed
- AssertHelpers.containsExactlyInAnyOrder works when elements are not Comparable
- Handle exceptions in dependency block as result. (#130)
0.8.1 - Rather Interesting
0.8.1 - "Rather Interesting" 2022-09-13
Fixed
- Don't crash when root context is flaky.
- Correctly handle root context timeouts. the timeout should be for one test execution that is part of the Root Context
and not for all the tests that are executed as part of the root context.
V0.8.0 - Position Chrome
0.8.0 "Position Chrome" - 2022-08-29
Added
- allow to disable isolation for sub-contexts.
Fixed
- fix running tests by uniqueid where the root context contains ( or ) (#109)
- handle exceptions in afterEach after a test failure (fixes #110)
- context silently ignored when using describe for subcontexts. (#104)
- Running tests using FailGood::runAllTests or using the auto-test feature fails on Windows (#114)
V0.7.2 "Rough Trade" - 2022-07-22
0.7.2 "Rough Trade" - 2022-07-22
Added
- Run single tests from gradle (#96)
- Collect Events that happen during test execution and add them to an exception in case of error.
Or print it to a file when debug is set.
V0.7.1 - "Ariola" - 2022-05-03
0.7.1 - "Ariola" - 2022-05-03
Fixed
- Failgood reports error when only a single test is selected that is not a failgood test (#93)
V0.7.0 - "Universal" - 2022-04-29
0.7.0 - "Universal" - 2022-04-29
Changed
- Lots of changes to the previously undocumented mock library.
- Don't rely on class name patterns and instead run every class with a failgood.Test annotation
V0.6.1 - Blue Note
0.6.1 - "Blue Note" - 2022-04-06
Added
- Support afterEach callbacks that run after each test.
- Integrate kover plugin, publish code coverage to codecov
Fixed
- fix that some test names would not be found via uniqueid
- Correctly handle tags on tests created with
it