Skip to content
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

Generate extensions code when it's required #212

Open
viktoriia-fomina opened this issue Dec 22, 2022 · 0 comments
Open

Generate extensions code when it's required #212

viktoriia-fomina opened this issue Dec 22, 2022 · 0 comments

Comments

@viktoriia-fomina
Copy link
Collaborator

Description

When tests are generated with VSharp.Runner, tests extensions are always included into generated tests.
When we generate tests without special option --single-file they are generated into Extensions directory. When we use special option --single-file extensions are generated into file with tests.

Expected

Extensions are generated only when they are required for tests.

To reproduce

VSharp console runner with special option --single-file:

dotnet /usr/src/vsharp_runner/VSharp.Runner.dll --all-public-methods /usr/src/project/bin/Debug/net6.0/project.dll --render-tests --single-file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant