1. Left click on a Test (not a TestFixture) in the Unit Tests window of Xamarin Studio.
2. Shift+Left click on another Test within the same TestFixture (to select multiple tests).
3. Right click on any of the selected tests.
4. Click on Run Test.
All of the selected tests are run.
Only the first test in the selection is run.
I thought this might be intentional behaviour, since the right-click menu still says "Run Test" singular; I would have expected it to say "Run Tests" when there were multiple tests selected. Perhaps this behaviour could be added as part of resolving this issue?
I have checked this issue and able to reproduce this issue with the help of bug description.
Steps I have followed:
1. Create a Nunit Library project in Xamarin Studio.
2. Add multiple test case i.e : https://gist.github.com/Arpit360/23f12e8bfbe9f85052ef
3. Open Unit Tests window from View->Unit Testing.
4. Select multiple Test through Shift.
5. Right click on Selected Test.
We observed that when we select multiple Test through shift and right click getting option of ‘Run Test’ ,When we select ‘Run Test’ only first selected Test runs.
Nunit version: 2.6.3
=== Xamarin Studio ===
Version 5.7.2 (build 7)
Installation UUID: 3d25a767-a003-4a7d-9f5e-e57987cf6cf0
Mono 3.12.0 ((detached/b8f5055)
GTK+ 2.24.23 (Raleigh theme)
Package version: 312000077
=== Apple Developer Tools ===
Xcode 6.1 (6602)
=== Xamarin.iOS ===
Version: 184.108.40.206 (Indie Edition)
Build date: 2015-02-26 11:05:07-0500
=== Xamarin.Android ===
Version: 220.127.116.11 (Indie Edition)
Android SDK: /Users/mac360_xamarin/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
=== Xamarin.Mac ===
Version: 18.104.22.168 (Indie Edition)
=== Build Information ===
Release ID: 507020007
Git revision: dcf3f486177d3e625349b51a8f3be807e3fa7712
Build date: 2015-02-24 09:14:27-05
Xamarin addins: ea7c65bb7876e4a876ab365208e94acdf8f330ef
=== Operating System ===
Mac OS X 10.10.0
Darwin mac360-xamarins-Mac-mini.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014
Created attachment 10071 [details]
This is already fixed.
*** Bug 4614 has been marked as a duplicate of this bug. ***
*** Bug 40940 has been marked as a duplicate of this bug. ***