parallelize most tests
This commit is contained in:
parent
707c321545
commit
a2656d4056
@ -6,7 +6,7 @@ using Flurl.Util;
|
|||||||
|
|
||||||
namespace Flurl.Test
|
namespace Flurl.Test
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture, Parallelizable]
|
||||||
public class CommonExtensionsTests
|
public class CommonExtensionsTests
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
|
@ -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();
|
||||||
|
@ -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]
|
||||||
|
@ -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() {
|
||||||
|
@ -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]
|
||||||
|
@ -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; }
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -8,7 +8,7 @@ using NUnit.Framework;
|
|||||||
|
|
||||||
namespace Flurl.Test
|
namespace Flurl.Test
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture, Parallelizable]
|
||||||
public class UrlBuilderTests
|
public class UrlBuilderTests
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user