-
Notifications
You must be signed in to change notification settings - Fork 43
Generate tests with plugin
Olga Naumenko edited this page Nov 17, 2022
·
1 revision
To generate tests for Java code with UTBot plugin you must do the following steps:
- Open your Java Project in IntelliJ IDEA and find a class you want to cover by unit tests:
IDEA project
- Click to Alt + Shift + U - or - right mouse click on the file → Generate tests with UtBot..:
How to generate tests with plugin
- Select a method you'd like to cover by tests:
How to choose method for unit test generation
- Click OK:
Generated tests
- That's is: tests are generated automatically w/o any additional actions from an user side
- Check system requirements
- Install or update plugin
- Generate tests with default configuration
- Fine-tune test generation
- Get use of test results
(redirect to /docs in main repo)
- Contributing guide
- Developer guide
- Naming and labeling conventions
- Interprocess debugging
- Interprocess logging
- UnitTestBot overall architecture
- Android Studio support
- Assumption mechanism
- Choosing language-specific IDE
- Code generation and rendering
- Fuzzing Platform (FP) Design
- Instrumented process API: handling errors and results
- UnitTestBot JavaScript plugin setup
- Night statistics monitoring
- RD for UnitTestBot
- Sandboxing
- UnitTestBot settings
- Speculative field non-nullability assumptions
- Symbolic analysis of static initializers
- Summarization module
- Taint analysis
- UnitTestBot decomposition
- UtUtils class
- UnitTestBot Family changes