Managing tests
Efficiently manage generated tests with Symflower's dedicated functionality:
- 'Create test' code lens to add new test templates
- 'Duplicate test' code lens to duplicate existing tests
- Test-review workflow to add generated tests to your test suite.
Create test
Add new smart test templates with a single click to jump-start your test writing. The 'create test' code lens is enabled by default. Just navigate above the method you want to add a test template for and click 'create test'. You'll see the corresponding test template being added to your test file.
Look for the 'create test' code lens above methods in your code:
Duplicate test
Duplicate tests with a single click to get instant access to boilerplate code for your next test. You no longer need to copy and paste the tests you want to use as a template: just click 'duplicate test' above the test you want to duplicate. Symflower will automatically highlight all the parts you need to update manually (such as the test name).
Look for the 'duplicate test' code lens above methods in your code:
Test-review workflow
Review generated tests and add them to your test suite with minimal effort. The test review workflow enables you to select which generated tests cases you want to add to your test suite, and add them with a single click.
Look for the 'add test to test file' code lens above tests in the virtual file generated by Symflower:
The test review workflow is currently only available in the Symflower extension for Visual Studio Code. Stay tuned for the feature getting released for IntelliJ IDEA and Android Studio.