Bug 41469 - ExplicitAttribute behaves differently with NUnit2 and NUnit3
Summary: ExplicitAttribute behaves differently with NUnit2 and NUnit3
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: NUnit (show other bugs)
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2016-06-02 19:57 UTC by Manish Sinha
Modified: 2017-10-06 06:40 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 41469 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Manish Sinha 2016-06-02 19:57:11 UTC
Steps to reproduce

1. Create an NUnit2 project
2. Create a test and mark it [Explicit].
3. Now run the fixture.
4. Create an NUnit3 project
5. Create a test and mark it [Explicit].
6. Now run the fixture.

Expected: The test marked [Explicit] should not run on either NUnit2 or NUnit3 when the whole fixture is run
Actual: NUnit2 Explicit test does not run, but Nunit3 explicit marked test runs

Try it out with
https://github.com/xamarin/QualityAssurance/blob/master/Manual/NunitTests/NunitTests.sln

Screenshot: https://trello-attachments.s3.amazonaws.com/57474b5726aab3d687d3b26b/247x516/027ec07ca84d595afdd0ba7d2fc8c723/Xamarin_Studio_Business.png

XS Info

=== Xamarin Studio Business ===

Version 6.1 (build 4412)
Installation UUID: 9f8d3275-c231-4976-ba77-8e684234ab4e
Runtime:
	Mono 4.4.0 (mono-4.4.0-branch/5995f74) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404000182

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 6.1.99.298 (Xamarin Business)
Android SDK: /Users/manish/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)
		6.0.99 (API level 24)

SDK Tools Version: 25.1.6
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 22.0.1

Java SDK: /usr
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.3 (10183.3)
Build 7D175

=== Xamarin.iOS ===

Version: 9.9.0.264 (Xamarin Business)
Hash: 301fa47
Branch: master
Build date: 2016-06-02 12:14:18-0400

=== Xamarin.Mac ===

Version: 2.9.0.264 (Xamarin Business)

=== Xamarin Inspector ===

Version: 0.8.1.0
Hash: 95792d1
Branch: master
Build date: Thu May 12 22:20:04 UTC 2016

=== Build Information ===

Release ID: 601004412
Git revision: e60c3cbe57725d4127e9102aba5354d980af810c
Build date: 2016-06-02 12:43:32-04
Xamarin addins: 3e5ec14c033583a794563ac7ac21303dc0bcfeb1
Build lane: monodevelop-lion-master

=== Operating System ===

Mac OS X 10.11.4
Darwin Manishs-MacBook-Pro.local 15.4.0 Darwin Kernel Version 15.4.0
    Fri Feb 26 22:08:05 PST 2016
    root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Xamarin Inspector 0.8.1.0