Skip to content

Add mocking listener in plugin - #1604

Merged
EgorkaKulikov merged 1 commit into
mainfrom
andrey-t/mock_listener_plugin_support
Dec 30, 2022
Merged

Add mocking listener in plugin#1604
EgorkaKulikov merged 1 commit into
mainfrom
andrey-t/mock_listener_plugin_support

Conversation

@sofurihafe

Copy link
Copy Markdown
Member

Description

Before the PR we listened to force mocking occurrence events in parameterized test generation only in utbot-samples runs.
This PR adapts the feature for plugin.
Second attempt of pull845

Fixes # (844)

Type of Change

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

How Has This Been Tested?

Regression and integration tests

Automated Testing

utbot-samples.

Manual Scenario

Generate a parameterized test for a method vertexSum from RecursionTest in plugin. Verify that there is only one data provider (one processed execution without Random() mock) out of two.

@EgorkaKulikovEgorkaKulikov linked an issue Dec 30, 2022 that may be closed by this pull request
@EgorkaKulikov
EgorkaKulikov merged commit 392ac4b into mainDec 30, 2022
@EgorkaKulikov
EgorkaKulikov deleted the andrey-t/mock_listener_plugin_support branch December 30, 2022 09:22
tamarinvs19 pushed a commit that referenced this pull request Jan 9, 2023
@tyuldashevtyuldashev added ctg-enhancement New feature, improvement or change request comp-codegen Issue is related to code generator labels Jan 24, 2023
@alisevychalisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-codegenIssue is related to code generatorctg-enhancementNew feature, improvement or change request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adapt force mocking listener for plugin

4 participants

@sofurihafe@EgorkaKulikov@tyuldashev@alisevych