ginkgo v1.5.0 Release Notes
-
๐ 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 measurements (#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, ee65bd, df87dfe]
- ๐ Synchronies 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]