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

[question] How to skip specific folders when running from top-level directory? #1209

Open
theodelrieu opened this issue Nov 14, 2024 · 1 comment

Comments

@theodelrieu
Copy link

Hello,

I couldn't find the answer in the docs, so here I am.
Before migrating to TUnit, all I had to do with xUnit was running dotnet test from my top-level directory.
Some of my test projects have the attribute IsTestProject set to false. This is to avoid running them everytime, as they are quite heavy and require specific configuration, so they have their own CI job.

Unfortunately, IsTestProject doesn't seem to be handled by TUnit. Is there a way to ignore specific folders?

@thomhurst
Copy link
Owner

How are you running them separately if they're not considered test projects?

You could try <TestingPlatformDotnetTestSupport>false</TestingPlatformDotnetTestSupport> ?

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

No branches or pull requests

2 participants