rtyley / test-intellij-sbt-testoptions-for-setup-and-cleanup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test-intellij-sbt-testoptions-for-setup-and-cleanup

Sbt supports setup & cleanup actions for tests using Tests.Setup and Tests.Cleanup in the testOptions setting.

IntelliJ supports running tests straight from the code editor, but currently it won't run the Tests.Setup and Tests.Cleanup steps - for IntelliJ users this can lead to intermittent test failures that are surprising to users who aren't aware of both the custom sbt configuration, and the fact that IntelliJ won't run those test actions (e.g. scala-steward #3101).

IntelliJTestSetupAndCleanup.mov

About


Languages

Language:Scala 100.0%