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

MSpecTask does not use include and exclude paramters correctly #1190

Closed
FrankStrieter opened this issue Jun 2, 2023 · 0 comments · Fixed by #1192
Closed

MSpecTask does not use include and exclude paramters correctly #1190

FrankStrieter opened this issue Jun 2, 2023 · 0 comments · Fixed by #1192
Labels

Comments

@FrankStrieter
Copy link
Contributor

Usage Information

NUKE Execution Engine version 7.0.2 (Windows,.NETCoreApp,Version=v6.0)

Description

When using the MSpecTask with Includes or excludes these Parameters were not set correctly for the Testrunner. The result is that eighter all tests or no tests are run.

Reproduction Steps

MSpecTasks.MSpec(new MSpecSettings()                                           
        .SetExcludes(tagsToExclude)                                                     
        .SetAssemblies("myAwesome.dll"));                                                    

results to the command line that is executed:
mspec.exe myAwesome.dll -x="tagsToExlude"

when running this from the command line the error happens as well.

Looking at the manual of mspec you can see that exludes or includes shoud be passed without the equal sign.

Expected Behavior

the command that will be executed should be like this: mspec.exe myAwesome.dll -x "tagsToExlude"

Actual Behavior

the command that is executed is: mspec.exe myAwesome.dll -x="tagsToExlude"

Regression?

No response

Known Workarounds

No response

Could you help with a pull-request?

Yes

@FrankStrieter FrankStrieter changed the title MSpecTask does not use include and explude paramters correctly MSpecTask does not use include and exclude paramters correctly Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant