parallelize most tests

This commit is contained in:
Todd Menier 2017-08-13 14:29:19 -05:00
parent 707c321545
commit a2656d4056
9 changed files with 8 additions and 10 deletions

View File

@ -6,7 +6,7 @@ using Flurl.Util;
namespace Flurl.Test namespace Flurl.Test
{ {
[TestFixture] [TestFixture, Parallelizable]
public class CommonExtensionsTests public class CommonExtensionsTests
{ {
[Test] [Test]

View File

@ -10,7 +10,7 @@ using NUnit.Framework;
namespace Flurl.Test.Http namespace Flurl.Test.Http
{ {
[TestFixture] [TestFixture, Parallelizable]
public class ClientConfigTestsBase //: ConfigTestsBase public class ClientConfigTestsBase //: ConfigTestsBase
{ {
//private FlurlClient _client = new FlurlClient(); //private FlurlClient _client = new FlurlClient();

View File

@ -9,7 +9,7 @@ using NUnit.Framework;
namespace Flurl.Test.Http namespace Flurl.Test.Http
{ {
[TestFixture] [TestFixture, Parallelizable]
public class GetTests : HttpTestFixtureBase public class GetTests : HttpTestFixtureBase
{ {
[Test] [Test]

View File

@ -12,7 +12,6 @@ namespace Flurl.Test.Http
/// All global settings can also be set at the client level, so this base class allows ClientConfigTests to /// All global settings can also be set at the client level, so this base class allows ClientConfigTests to
/// inherit all the same tests. /// inherit all the same tests.
/// </summary> /// </summary>
[Parallelizable]
public abstract class ConfigTestsBase public abstract class ConfigTestsBase
{ {
protected abstract FlurlHttpSettings GetSettings(); protected abstract FlurlHttpSettings GetSettings();
@ -135,7 +134,7 @@ namespace Flurl.Test.Http
private class SomeCustomMessageHandler : HttpClientHandler { } private class SomeCustomMessageHandler : HttpClientHandler { }
} }
//[TestFixture] //[TestFixture, Parallelizable]
//public class GlobalConfigTestsBase : ConfigTestsBase //public class GlobalConfigTestsBase : ConfigTestsBase
//{ //{
// protected override FlurlHttpSettings GetSettings() { // protected override FlurlHttpSettings GetSettings() {

View File

@ -6,7 +6,7 @@ using NUnit.Framework;
namespace Flurl.Test.Http namespace Flurl.Test.Http
{ {
[TestFixture] [TestFixture, Parallelizable]
public class HeadTests : HttpTestFixtureBase public class HeadTests : HttpTestFixtureBase
{ {
[Test] [Test]

View File

@ -6,7 +6,6 @@ using NUnit.Framework;
namespace Flurl.Test.Http namespace Flurl.Test.Http
{ {
[Parallelizable]
public abstract class HttpTestFixtureBase public abstract class HttpTestFixtureBase
{ {
protected HttpTest HttpTest { get; private set; } protected HttpTest HttpTest { get; private set; }

View File

@ -5,7 +5,7 @@ using NUnit.Framework;
namespace Flurl.Test.Http namespace Flurl.Test.Http
{ {
[TestFixture] [TestFixture, Parallelizable]
public class PostTests : HttpTestFixtureBase public class PostTests : HttpTestFixtureBase
{ {
[Test] [Test]

View File

@ -9,7 +9,7 @@ using NUnit.Framework;
namespace Flurl.Test.Http namespace Flurl.Test.Http
{ {
[TestFixture] [TestFixture, Parallelizable]
public class TestingTests : HttpTestFixtureBase public class TestingTests : HttpTestFixtureBase
{ {
[Test] [Test]

View File

@ -8,7 +8,7 @@ using NUnit.Framework;
namespace Flurl.Test namespace Flurl.Test
{ {
[TestFixture] [TestFixture, Parallelizable]
public class UrlBuilderTests public class UrlBuilderTests
{ {
[Test] [Test]