Initial set-up
Check that the IntelliJ Idea UTBot plugin can be successfully installed
Go through manual scenarios
|
Pre-condition |
Condition |
Class under test |
Output |
| 1 |
No UtUtils class |
Generate a test class, that does not need utility methods |
IntExamples.java |
No UtUtils class is produced. |
| 2 |
No UtUtils class |
Generate a test class, that (a) needs a utility method, (b) does not use mocking |
QueueUsages.java |
Regular UtUtils class (without mocking support) is produced. |
| 3 |
Regular UtUtils class (without mocking support) exists |
Generate a test class, that (a) needs a utility method, (b) uses mocking |
CommonMocksExample.java |
UtUtils class with mocking support is produced. |
| 4 |
UtUtils class with mocking support exists |
Generate a test class, that (a) needs a utility method, (b) does not use mocking |
QueueUsages.java |
UtUtils class with mocking support from the previous generation stays the same. |
| 5 |
UtUtils class with mocking support exists |
Generate another test class, that (a) needs a utility method, (b) does not use mocking + create and choose another Test sources root: utbot-sample/src/test/java2 |
QueueUsages.java |
No additional UtUtils class is generated in utbot-sample/src/test/java2. UtUtils class with mocking support from the previous generation stays the same. |
| 6 |
No UtUtils class (delete previously generated test classes and UtUtils classes) |
Generate a test class, that (a) does not need utility methods (b) uses mocking |
MockRandomExamples.java and choose the method randomAsParameter() for test generation |
No UtUtils class is produced. |
IDEA interaction checks
Initial set-up
Check that the IntelliJ Idea UTBot plugin can be successfully installed
Go through manual scenarios
UtUtilsclassIntExamples.javaUtUtilsclass is produced.UtUtilsclassQueueUsages.javaUtUtilsclass (without mocking support) is produced.UtUtilsclass (without mocking support) existsCommonMocksExample.javaUtUtilsclass with mocking support is produced.UtUtilsclass with mocking support existsQueueUsages.javaUtUtilsclass with mocking support from the previous generation stays the same.UtUtilsclass with mocking support existsutbot-sample/src/test/java2QueueUsages.javaUtUtilsclass is generated inutbot-sample/src/test/java2.UtUtilsclass with mocking support from the previous generation stays the same.UtUtilsclass (delete previously generated test classes andUtUtilsclasses)MockRandomExamples.javaand choose the methodrandomAsParameter()for test generationUtUtilsclass is produced.IDEA interaction checks