Stopped exception when Keepalive is false and enableshutdown is true, ref #39, updated to 1.1.0.7 and set longrunning tests to explicit
This commit is contained in:
Родитель
8d5a9c14f7
Коммит
6efdcf9e1a
|
@ -54,7 +54,8 @@ namespace NUnit.VisualStudio.TestAdapter
|
|||
var enableShutdown = (UseVsKeepEngineRunning) ? !runContext.KeepAlive : true;
|
||||
if (!tfsfilter.HasTfsFilterValue)
|
||||
{
|
||||
frameworkHandle.EnableShutdownAfterTestRun = enableShutdown;
|
||||
if (!(enableShutdown && !runContext.KeepAlive)) // Otherwise causes exception when run as commandline, illegal to enableshutdown when Keepalive is false, might be only VS2012
|
||||
frameworkHandle.EnableShutdownAfterTestRun = enableShutdown;
|
||||
}
|
||||
|
||||
foreach (var source in sources)
|
||||
|
|
|
@ -21,5 +21,5 @@ using System.Runtime.InteropServices;
|
|||
[assembly: ComVisible(false)]
|
||||
|
||||
[assembly: Guid("c0aad5e4-b486-49bc-b3e8-31e01be6fefe")]
|
||||
[assembly: AssemblyVersion("1.1.0.6")]
|
||||
[assembly: AssemblyFileVersion("1.1.0.6")]
|
||||
[assembly: AssemblyVersion("1.1.0.7")]
|
||||
[assembly: AssemblyFileVersion("1.1.0.7")]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<Identifier Id="NUnitTestAdapterInstall..7c53286e-ac4f-485f-915c-5ec5a4c47b0c">
|
||||
<Name>NUnit Test Adapter</Name>
|
||||
<Author>Charlie Poole</Author>
|
||||
<Version>1.1.0.6</Version>
|
||||
<Version>1.1.0.7</Version>
|
||||
<Description xml:space="preserve">NUnit adapter for integrated test execution under Visual Studio 2012 (all updates),and Visual Studio 2013 (all updates). Compatible with NUnit 2.0 through 2.6.3.</Description>
|
||||
<Locale>1033</Locale>
|
||||
<MoreInfoUrl>http://nunit.org/index.php?p=vsTestAdapter&r=2.6.3</MoreInfoUrl>
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace NUnit.VisualStudio.TestAdapter.Tests
|
||||
{
|
||||
[Explicit]
|
||||
[TestFixture]
|
||||
[Category("LongRunning")]
|
||||
class IssueNo24Tests
|
||||
|
|
Загрузка…
Ссылка в новой задаче