UTBotJava
UTBotJava copied to clipboard
Automated unit test generation and precise code analysis for Java
## Labels (hint) Choose the obligatory labels: - "ctg" (category): _enhancement_ - "comp" (component): _fuzzing_, _codegen_, _priority-minor_ Feel free to apply more labels to your PR, e.g.: _lang-java_, _priority-minor_, _spec-performance_...
**Description** UnitTestBot generates four tests for a method. All four tests are documents as successful, but three of the four tests actually fail during initialization of the class that contains...
**Description** UnitTestBot generates a test suite that uses several Mockito API components. However, no suitable Mockito dependency is present or is added by the plugin. **To Reproduce** Steps to reproduce...
**Description** UnitTestBot generates one test for a method that uses `Reflection.getCallerClass`. This one test does not fully explore the possible behaviors of the method under test. Generated comments claim that...
## Description 1. Now, CLI can be set with specific fuzzing ration instead of default 0.1. If no option is specified, then the default one is used. 2. Source option...
**To Reproduce** 1. Add Spring Security. 2. Generate integration test for `@PostMapping`, e.g. ```java @PostMapping("/demo") public String demo() { return "demo"; } ``` **Expected behavior** Probably shouldn't have this test....
**To Reproduce** Generate integration tests for controller's method which has `@PreAuthorize`, e.g. ```java @GetMapping("/demo") @PreAuthorize("hasAuthority('write')") public String demo() { return "demo"; } ``` **Expected behavior** Only one such test is...
**To Reproduce** Generate integration tests for controller's method which has `@PreAuthorize`, e.g. ```java @GetMapping("/demo") @PreAuthorize("hasAuthority('write')") public String demo() { return "demo"; } ``` **Expected behavior** Probably shouldn't have this test...