Releases: onsi/ginkgo
Releases · onsi/ginkgo
v1.5.0
New Features
- Supports go v1.10 (#443, #446, #451) [e873237, 468e89e, e37dbfe, a37f4c0, c0b857d, bca5260, 4177ca8]
- Add a When() synonym for Context() (#386) [747514b, 7484dad, 7354a07, dd826c8]
- Re-add noisySkippings flag [652e15c]
- Allow coverage to be displayed for focused specs (#367) [11459a8]
- Handle -outputdir flag (#364) [228e3a8]
- Handle -coverprofile flag (#355) [43392d5]
Fixes
- When using custom reporters register the custom reporters before the default reporter. This allows users to see the output of any print statements in their customer reporters. (#365) [8382b23]
- When running a test and calculating the coverage using the
-coverprofile
and-outputdir
flags, Ginkgo fails with an error if the directory does not exist. This is due to an issue in go 1.10 (#446) [b36a6e0] unfocus
command ignores vendor folder (#459) [e5e551c, c556e43, a3b6351, 9a820dd]- Ignore packages whose tests are all ignored by go (#456) [7430ca7, 6d8be98]
- Increase the threshold when checking time measuments (#455) [2f714bf, 68f622c]
- Fix race condition in coverage tests (#423) [a5a8ff7, ab9c08b]
- Add an extra new line after reporting spec run completion for test2json [874520d]
- added name name field to junit reported testsuite [ae61c63]
- Do not set the run time of a spec when the dryRun flag is used (#438) [457e2d9, ba8e856]
- Process FWhen and FSpecify when unfocusing (#434) [9008c7b, ee65bdb, df87dfe]
- Synchronise the access to the state of specs to avoid race conditions (#430) [7d481bc, ae6829d]
- Added Duration on GinkgoTestDescription (#383) [5f49dad, 528417e, 0747408, 329d7ed]
- Fix Ginkgo stack trace on failure for Specify (#415) [b977ede, 65ca40e, 6c46eb8]
- Update README with Go 1.6+, Golang -> Go (#409) [17f6b97, bc14b66, 20d1598]
- Use fmt.Errorf instead of errors.New(fmt.Sprintf (#401) [a299f56, 44e2eaa]
- Imports in generated code should follow conventions (#398) [0bec0b0, e8536d8]
- Prevent data race error when Recording a benchmark value from multiple go routines (#390) [c0c4881, 7a241e9]
- Replace GOPATH in Environment [4b883f0]
v1.4.0
ginkgo
now provides a hint if you accidentally forget to runginkgo bootstrap
to generate a*_suite_test.go
file that actually invokes the Ginkgo test runner. #345- thanks to improvements in
go test -c
ginkgo
no longer needs to fix Go's compilation output to ensure compilation errors are expressed relative to the CWD. [#357] ginkgo watch -watchRegExp=...
allows you to specify a custom regular expression to watch. Only files matching the regular expression are watched for changes (the default is\.go$
) [#356]ginkgo
now always emits compilation output. Previously, only failed compilation output was printed out. [#277]ginkgo -requireSuite
now fails the test run if there are*_test.go
files butgo test
fails to detect any tests. Typically this means you forgot to runginkgo bootstrap
to generate a suite file. [#344]ginkgo -timeout=DURATION
allows you to adjust the timeout for the entire test suite (default is 24 hours) [#248]
v1.3.1
Ginkgo 1.3.0
Improvements:
- Significantly improved parallel test distribution. Now instead of pre-sharding test cases across workers (which can result in idle workers and poor test performance) Ginkgo uses a shared queue to keep all workers busy until all tests are complete. This improves test-time performance and consistency.
Skip(message)
can be used to skip the current test.- Added
extensions/table
- a Ginkgo DSL for Table Driven Tests - Add
GinkgoRandomSeed()
- shorthand forconfig.GinkgoConfig.RandomSeed
- Support for retrying flaky tests with
--flakeAttempts
ginkgo ./...
now recurses as you'd expect- Added
Specify
a synonym forIt
- Support colorise on Windows
- Broader support for various go compilation flags in the
ginkgo
CLI
Bug Fixes:
- Ginkgo tests now fail when you
panic(nil)
(#167)