playframework / playframework/play1
Play should run its own tests in precompiled mode
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 671
- Avg merge
- 12d 15h
- Merged PRs (30d)
- 1
Description
Currently play own tests are executed in DEV mode.
Thus they will not catch any errors that happen only in PROD mode (for example, see issue https://github.com/playframework/play1/pull/1152).
I believe we should run play tests in PROD mode. It will give stronger confidence that application works in production as in test.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Play's own test runner and the entry point used for precompiled-mode tests; inspect how DEV and PROD modes are selected. Run the existing Play tests in both modes and confirm that the suite runs in PROD mode while retaining its current coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100