playframework / playframework/playframework
Play applications should by default run tests in parallel
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 12.6k
- Forks
- 4k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 29
Description
Play Version
This is a small change that can happen for 2.7+ if we have time.
API
Java and Scala.
Expected Behavior
Since we have changed the default of play.allowGlobalApplication to false (see #8183), we can now change the value of parallelExecution in Test to true enabling test suites in Play applications to run faster. Users can then run tests sequentially if they need/want.
Actual Behavior
The default is not to run tests in parallel.
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 in framework/src/sbt-plugin/src/main/scala/play/sbt/PlaySettings.scala at the value of parallelExecution in Test linked by the issue, and review how Play applications configure testing. Confirm that the default enables parallel test execution while preserving a way for users to run tests sequentially, then run the relevant Play application test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- build-system, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100