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
Run tests from TFS #11
Comments
Please view the readme. It how's how to set the filter, at least for the NUnit command line.
Met vriendelijke groet,
Sebastiaan Dammann
…________________________________
Van: AutomationSifu <notifications@github.com>
Verzonden: dinsdag, oktober 23, 2018 9:49 PM
Aan: Sebazzz/NUnitTestOrdering
CC: Subscribed
Onderwerp: [Sebazzz/NUnitTestOrdering] Run tests from TFS (#11)
Is there a specific Test Filter Criteria to use when trying to run the tests from TFS for a build?
For some reason it's not picking up the tests correctly.
This has run fine in the past before using the NUnittestOrdering library.
* It seems when I don't enter a filter it's picking up the unordered test.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSebazzz%2FNUnitTestOrdering%2Fissues%2F11&data=02%7C01%7C%7C56ecefd210384c4ff04d08d639209ef8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759209592972140&sdata=ZOSVLc8CkHU23ShdQ54NQxTKfSvneZTssnYWv8sDaxY%3D&reserved=0>, or mute the thread<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABXCsRV9xjss3jJDQi8rcJPOP9FVsvXxks5un3K-gaJpZM4X2hzK&data=02%7C01%7C%7C56ecefd210384c4ff04d08d639209ef8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759209592972140&sdata=LU8fgsA92kTORr5TQWxD%2F3h7bYgJwP8Nhn6%2Fe5j1sEE%3D&reserved=0>.
|
I looked at the Readme and I don't see how to set the filter. Is it in a particular section? |
Sorry, the NUNIT readme. You can use regular filters, and check with the GUI how to build them. |
For this item I'll take some of the complexity out by not trying to run from TFS but will try to use the filters with an NUnit runner first. Is there a way to run tests using your library with the NUnit console? I may have the incorrect name of the NUnit tool. I know the NUnit gui runner is straight forward and doesn't require filters, so I didn't think it would help with this item. Thanks! |
Try using the --test option: https://github.com/nunit/docs/wiki/Console-Command-Line
Met vriendelijke groet,
Sebastiaan Dammann
…________________________________
Van: AutomationSifu <notifications@github.com>
Verzonden: dinsdag, oktober 30, 2018 5:06 PM
Aan: Sebazzz/NUnitTestOrdering
CC: Sebastiaan Dammann; Comment
Onderwerp: Re: [Sebazzz/NUnitTestOrdering] Run tests from TFS (#11)
For this item I'll take some of the complexity out by not trying to run from TFS but will try to use the filters with an NUnit runner first. Is there a way to run tests using your library with the NUnit console? I may have the incorrect name of the NUnit tool. I know the NUnit gui runner is straight forward and doesn't require filters, so I didn't think it would help with this item.
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSebazzz%2FNUnitTestOrdering%2Fissues%2F11%23issuecomment-434361267&data=02%7C01%7C%7C756b8a40fcef4f5a02f208d63e819d74%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636765123737369999&sdata=mwpgEfivrz0h3OkBpmzfDL%2FgEGKiSOxRk1gMIJgPRlY%3D&reserved=0>, or mute the thread<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABXCsRgL3AY_YKQvNPvEH-qE0aSmD3Ztks5uqHj1gaJpZM4X2hzK&data=02%7C01%7C%7C756b8a40fcef4f5a02f208d63e819d74%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636765123737369999&sdata=oRtkb6u6QRnkl%2FvhHjBPzZ9YWBq7tgSffOE5m95%2BOmA%3D&reserved=0>.
|
Figured this out. Now TFS is called Azure DevOps. In Azure Devops go to your Build pipeline and edit the VsTest - testAssemblies task. Note: This line will pick up all tests that are enabled (uncommented out) in your EnableTestOrdering.cs file in your Automation project. Thanks! |
Is there a specific Test Filter Criteria to use when trying to run the tests from TFS for a build?
For some reason it's not picking up the tests correctly.
This has run fine in the past before using the NUnittestOrdering library.
Thanks!
The text was updated successfully, but these errors were encountered: