Skip to content

Manual testing of UtUtils class generation - build#2022.11.502. #1233

Closed

Description

@alisevych

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

Go through manual scenarios

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
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

  • Gradle / Maven / IntelliJ
  • in new test sources root
  • in test sources root in other module

Activity

  1. moved this to Todo in UTBot Javaon Oct 26, 2022
  2. changed the title [-]Manual testing of UtUtils class generation[/-] [+]Manual testing of UtUtils class generation checklist[/+] on Oct 26, 2022
  3. changed the title [-]Manual testing of UtUtils class generation checklist[/-] [+]Manual testing of UtUtils class generation[/+] on Oct 26, 2022
  4. self-assigned this
    on Oct 28, 2022
  5. added this to the 2022.11 Release milestone on Oct 28, 2022
  6. tyuldashev commented on Nov 2, 2022

    @tyuldashev
    Collaborator

    Tested with #502 and IDEA 2022.2.3

  7. Repository owner moved this from Todo to Done in UTBot Javaon Nov 2, 2022
  8. changed the title [-]Manual testing of UtUtils class generation[/-] [+]Manual testing of UtUtils class generation - build # 2022.11.502.[/+] on Nov 14, 2022
  9. changed the title [-]Manual testing of UtUtils class generation - build # 2022.11.502.[/-] [+]Manual testing of UtUtils class generation - build#2022.11.502.[/+] on Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ctg-qaIssue is related to QA process

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions