Skip to content

Add mocking listener in plugin #1604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

sofurihafe
Copy link
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.

@EgorkaKulikov EgorkaKulikov linked an issue Dec 30, 2022 that may be closed by this pull request
@EgorkaKulikov EgorkaKulikov merged commit 392ac4b into main Dec 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
@tyuldashev tyuldashev added ctg-enhancement New feature, improvement or change request comp-codegen Issue is related to code generator labels Jan 24, 2023
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-codegen Issue is related to code generator ctg-enhancement New 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