-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
comp-minimizerIssue is related to Minimization phaseIssue is related to Minimization phasecomp-springIssue is related to Spring projects supportIssue is related to Spring projects supportctg-enhancementNew feature, improvement or change requestNew feature, improvement or change request
Description
Description
Consider generating Spring integration tests with configuration for project spring-boot-testing, method OrderService.createOrder with 100% fuzzer in ilya_m/spring_integration_test_prototype branch.
The following tests are generated. It seems strange that both of them cover the unique line in method under test, so it seems that one of them must be minimized.
Order order1 = new Order();
order1.setBuyer("abc");
order1.setId(1L);
order1.setPrice(Double.POSITIVE_INFINITY);
Order actual = orderService.createOrder(order1);
<...>
assertEquals(expected, actual);Order order = new Order();
order.setQty(Integer.MIN_VALUE);
order.setId(-1L);
Order actual = orderService.createOrder(order);
<...>
assertEquals(expected, actual);Metadata
Metadata
Assignees
Labels
comp-minimizerIssue is related to Minimization phaseIssue is related to Minimization phasecomp-springIssue is related to Spring projects supportIssue is related to Spring projects supportctg-enhancementNew feature, improvement or change requestNew feature, improvement or change request
Type
Projects
Status
Done