Starting with version 0.5.0, weaver provides bespoke intellij support via a plugin that allows to run suites and tests directly from the IDE
In Intellij, go to
preferences > plugins, click on the cog icon and select
manage plugin repositories
https://disneystreaming.github.io/weaver-test/intellij.xml to the list.
You can now search for the
weaver-intellij plugin in the marketplace view
The plugin requires your project to be using version 0.5.0-RC1 of weaver (or newer). However, despite this requirement, the version of the plugin and the version of the test framework DO NOT NEED TO MATCH.
When test suites are open in Intellij, the plugin adds buttons to the left of the editor (next to the line number of the suite declaration) , letting you run individual suites from the IDE.
The plugin also attempts to add buttons next on the same lines of tests, in a best-effort fashion, by detecting implicit conversions from
weaver.TestName. When running tests this way, only tests matching the selected line will run.