playframework / play1

Play framework
https://www.playframework.com/documentation/1.4.x/home
Other
1.58k stars 683 forks source link

#1437: play auto-test can return an exit code of zero when the te… #1435

Closed tstedman closed 12 months ago

tstedman commented 1 year ago

…sts do not run

Pull Request Checklist

Helpful things

Fixes

git hub issue playframework/play1#1437 play auto-test can return an exit code of zero when the tests do not run due to the application failing to start. This can occur as a result of an unhandled exception when initializing a module or a compiler error within the application.

Purpose

Exists with return value of -1 when tests have not run.

Background Context

Jenkins was not reporting errors with play projects, was reporting everything working, even though tests were failing to run.

References

https://github.com/playframework/play1/issues/1437

xael-fry commented 12 months ago

Merged in master thanks @tstedman