Skip to content

Generate standard tests for symbolic executions with mocking in parametrized mode - #1252

Merged
EgorkaKulikov merged 1 commit into
mainfrom
andrey-t/1231-std-tests-mock-execs
Oct 28, 2022
Merged

Generate standard tests for symbolic executions with mocking in parametrized mode#1252
EgorkaKulikov merged 1 commit into
mainfrom
andrey-t/1231-std-tests-mock-execs

Conversation

@sofurihafe

@sofurihafesofurihafe commented Oct 27, 2022

Copy link
Copy Markdown
Member

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).

@sofurihafesofurihafe changed the title Generate std tests for symbolic executions with mocking instead of sk…Generate std tests for previously skipped symbolic executions with mockingOct 28, 2022
@sofurihafe
sofurihafe marked this pull request as ready for review October 28, 2022 06:00
@sofurihafesofurihafe linked an issue Oct 28, 2022 that may be closed by this pull request
@EgorkaKulikovEgorkaKulikov changed the title Generate std tests for previously skipped symbolic executions with mockingGenerate standard tests for symbolic executions with mocking in parametrized modeOct 28, 2022
@sofurihafe
sofurihafeforce-pushed the andrey-t/1231-std-tests-mock-execs branch from b9dc4f6 to dc619aeCompareOctober 28, 2022 09:19
@EgorkaKulikov
EgorkaKulikov enabled auto-merge (squash) October 28, 2022 09:24
@EgorkaKulikov
EgorkaKulikov merged commit cb18154 into mainOct 28, 2022
@EgorkaKulikov
EgorkaKulikov deleted the andrey-t/1231-std-tests-mock-execs branch October 28, 2022 09:54
Sign up for freeto 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

2 participants

@sofurihafe@EgorkaKulikov