Writing tests
Last updated
Was this helpful?
Last updated
Was this helpful?
To write tests using Cover Plugin for IntelliJ:
Editor Panel
Click the .
Editor Panel
Right-click a method or class and select Write Tests
.
Editor Panel
Select Diffblue
> Write Tests
from the .
Right-click a folder or file and select Write Tests
.
Right-click a method or class and select Write Tests
.
Select Run > Edit Configurations
from the IntelliJ menu.
In general, if the Write Tests option is available then Cover Plugin can write tests for your methods or classes. However:
If it is not possible for Cover to write a complete test, instead a partial test may be created - see Creating partial tests.
If you don't want to write a complete test, Cover Plugin can help set up your tests by creating a skeleton test instead - see Creating skeleton tests.