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
{
[TestFixture]
[TestFixture, Parallelizable]
public class CommonExtensionsTests
{
[Test]

View File

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

View File

@ -9,7 +9,7 @@ using NUnit.Framework;
namespace Flurl.Test.Http
{
[TestFixture]
[TestFixture, Parallelizable]
public class GetTests : HttpTestFixtureBase
{
[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
/// inherit all the same tests.
/// </summary>
[Parallelizable]
public abstract class ConfigTestsBase
{
protected abstract FlurlHttpSettings GetSettings();
@ -135,7 +134,7 @@ namespace Flurl.Test.Http
private class SomeCustomMessageHandler : HttpClientHandler { }
}
//[TestFixture]
//[TestFixture, Parallelizable]
//public class GlobalConfigTestsBase : ConfigTestsBase
//{
// protected override FlurlHttpSettings GetSettings() {

View File

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

View File

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

View File

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

View File

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

View File

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