Category attribute not working with TFS test case filter

Bug #1240704 reported by Mike McClaran
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NUnit Test Adapter
Fix Committed
Undecided
Unassigned

Bug Description

I have a NUnit test marked with the following:
[Category("TFSFriendly")]

In TFS build definition I have the following value for Test Case Filter:
TestCategory=TFSFriendly

I would expect that this would result in only my one test being run during TFS Build. However, no tests are run. I know that other settings related to tests and all other configuration are okay because if I remove the filter, all of my tests run.

I am using version 1.0 of NUnit Test Adapter. TFS version is 2012 Update 2.

Tags: github
Revision history for this message
Charlie Poole (charlie.poole) wrote :

Moved to https://github.com/nunit/nunit-vs-adapter/issues/13 and marked Won't Fix here.

Changed in nunit-vs-adapter:
status: New → Won't Fix
Changed in nunit-vs-adapter:
status: Won't Fix → Triaged
tags: added: github
Revision history for this message
Terje Sandstrom (b-tfrje-j) wrote :

Bug fixed on github, due for release 1.1

Changed in nunit-vs-adapter:
status: Triaged → Fix Committed
Revision history for this message
Terje Sandstrom (b-tfrje-j) wrote :

Added vsix with fix

Revision history for this message
Ioana gerauer (ioana-gerauer) wrote :

Hi,

how can I get the Fix? The link to your vsix posted here is not working for me.

Best Regards,
Ioana

Revision history for this message
Ioana gerauer (ioana-gerauer) wrote :

Hi,

thank you for sending me the vsix file. The TestAdapter you send me works fine. I can chose test categories in team build.

Best Regards,
Ioana

Revision history for this message
Nick (nicholas-hill) wrote :

Can you re-post the link to the vsix file that you sent Ioana. I have encountered the same issue.

Thank you,
-Nick

Revision history for this message
Terje Sandstrom (b-tfrje-j) wrote :

You can pick up the latest pre-release of 1.1 here: https://bintray.com/nunit/NUnitAdapter/NUnitAdapter/view/files

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.