Skip to content

Conversation

@sofurihafe
Copy link
Member

@sofurihafe sofurihafe commented Oct 27, 2022

Description

This PR adds more coverage by generating previously ignored test cases. Before, we skipped executions with mocking when generating parameterized tests. Now, we generate standard test in these cases.

This behavior is similar to our way of processing fuzzer executions (that may also contain force-mocking) in parametrized mode.

Fixes # (1231)

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Automated Testing

UTBot samples.

Manual Scenario

Run MockFinalClassTest for useFinalClassMethod() method. Verify that now there are three generated tests instead of two (as it was when we excluded symbolic executions with mocking in them).

@sofurihafe sofurihafe changed the title Generate std tests for symbolic executions with mocking instead of sk… Generate std tests for previously skipped symbolic executions with mocking Oct 28, 2022
@sofurihafe sofurihafe marked this pull request as ready for review October 28, 2022 06:00
@EgorkaKulikov EgorkaKulikov changed the title Generate std tests for previously skipped symbolic executions with mocking Generate standard tests for symbolic executions with mocking in parametrized mode Oct 28, 2022
@sofurihafe sofurihafe force-pushed the andrey-t/1231-std-tests-mock-execs branch from b9dc4f6 to dc619ae Compare October 28, 2022 09:19
@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) October 28, 2022 09:24
@EgorkaKulikov EgorkaKulikov merged commit cb18154 into main Oct 28, 2022
@EgorkaKulikov EgorkaKulikov deleted the andrey-t/1231-std-tests-mock-execs branch October 28, 2022 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add symbolic executions with force mocks in parameterized tests mode

3 participants