playframework / playframework/playframework

Play applications should by default run tests in parallel

Open
#8,569 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic:sbt type:improvement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.