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

Support for filtering the tests by trait or trait extensions #3

Open
michaelsync opened this issue Sep 21, 2015 · 11 comments
Open

Support for filtering the tests by trait or trait extensions #3

michaelsync opened this issue Sep 21, 2015 · 11 comments
Milestone

Comments

@michaelsync
Copy link

Hello,

Is there any plan to support on trail filtering or trail extensions filtering?

Normally, we can run the specific set of tests by using "/-trait "Category=database"" option. I like to do the same with this xUnit team city plugin as well.

Thanks!

@michaelsync
Copy link
Author

Hello,

Any update on this?

I think it's not so difficult to support the command line arguments in this plugin. Will you accept my pull request if I add that feature?

@carlpett
Copy link
Owner

Hi,
Very sorry for not replying earlier - for some reason notifications are not working for me, so I didn't see that issues were created. I'd gladly merge a pull request! :) As you say, if it is just adding a command line parameter, it should be simple enough.
I haven't used the traits feature myself, but I can see it being useful. Is the feature available in both xUnit 1.9 and 2.0? The syntax changed a bit between the versions, so only complication I can see would be keeping it working in both versions.

@michaelsync
Copy link
Author

@carlpett Sorry. I didn't get the notification either. This feature supports in both version but a bit different syntax. I will probably do a pull request this weekend. Thanks!

@cdanne
Copy link

cdanne commented Feb 4, 2016

Is there any progress on this or plans to include this feature? The plugin is great, but we really miss the option to exclude tests by category. Our integration tests should only run during nightly builds and not during each integration build.

@carlpett
Copy link
Owner

carlpett commented Feb 7, 2016

@cdanne: I'm working on releasing v1.1, which contains an overhaul of the way different xUnit versions are handled. With that out of the way, it should be fairly easy to add traits as well.
I'm aiming to have backwards compatibility testing done during the upcoming week, and after that this will be next in line!

@cdanne
Copy link

cdanne commented Feb 8, 2016

@carlpett: Thanks for the update, sounds great! So we'll keep our current "xUnit + TeamCity" configuration for integrations tests as well and are looking forward to the upcoming versions!

@carlpett carlpett modified the milestone: 1.2 Mar 14, 2016
@cdanne
Copy link

cdanne commented Mar 9, 2017

@carlpett Just to keep you motivated working on this plugin: We are still really looking forward to support for traits ;)
Has there been any progress lately? Any release plans for version 1.2?

@carlpett
Copy link
Owner

carlpett commented Mar 9, 2017

@cdanne I've been stalling a bit both due to high workload, but I see that xUnit 2.2 has just shipped as well, so a update of the plugin is really in order. I'll see what I can do over the coming few days!
Seeing that it is almost a year since I flagged this for 1.2, it's about time to get it done, I think ;)

@cdanne
Copy link

cdanne commented Mar 9, 2017

@carlpett Thanks for the quick response! I'm glad to hear you're still planning to integrate that feature and I am really looking forward to it!

@carlpett carlpett changed the title Support for filtering the tests by trail or trail extensions Support for filtering the tests by trait or trait extensions Mar 9, 2017
@carlpett
Copy link
Owner

This is partially supported with the ability to send commandline parameters to xUnit in the new version 1.2 of the plugin. I would like to support it with a better interaction though, so I'm not closing this just yet. I hope to make this better with the next release, 1.3.

@carlpett carlpett modified the milestones: 1.3, 1.2 May 15, 2017
@cdanne
Copy link

cdanne commented May 16, 2017

Thanks for the update and the new feature! We'll give the command line parameters a try then.

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

3 participants