Skip to content

Commit c473e52

Browse files
committed
Test selection improvements.
1 parent b09bb9f commit c473e52

41 files changed

Lines changed: 145 additions & 114 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
env:
66
CONFIGURATION: Release
7-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
7+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
88

99
jobs:
1010
build:
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
FIREBIRD_SELECTION: [FB25, FB30, FB40]
16-
TEST_SUITE: [Tests-FirebirdClient, Tests-EFCore, Tests-EF6]
16+
TEST_SUITE: [Tests-FirebirdClient-Default, Tests-FirebirdClient-Embedded, Tests-EFCore, Tests-EF6]
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v2

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/ConnectionPoolLifetimeHelperTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
//$Authors = @realic, Jiri Cincura (jiri@cincura.net)
1717

1818
using FirebirdSql.Data.Common;
19+
using FirebirdSql.Data.TestsBase;
1920
using NUnit.Framework;
2021

2122
namespace FirebirdSql.Data.FirebirdClient.Tests
2223
{
24+
[NoServerCategory]
2325
public class ConnectionPoolLifetimeHelperTests
2426
{
2527
[Test]

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/ConnectionStringTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@
1818
using System.Globalization;
1919
using System.Threading;
2020
using FirebirdSql.Data.Common;
21+
using FirebirdSql.Data.TestsBase;
2122
using NUnit.Framework;
2223

2324
namespace FirebirdSql.Data.FirebirdClient.Tests
2425
{
26+
[NoServerCategory]
2527
public class ConnectionStringTests
2628
{
2729
[Test]

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbArrayTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
namespace FirebirdSql.Data.FirebirdClient.Tests
2525
{
26-
[TestFixtureSource(typeof(FbDefaultServerTypeTestFixtureSource))]
27-
[TestFixtureSource(typeof(FbEmbeddedServerTypeTestFixtureSource))]
26+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Default))]
27+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Embedded))]
2828
public class FbArrayTests : FbTestsBase
2929
{
3030
#region Constructors

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbBlobTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
namespace FirebirdSql.Data.FirebirdClient.Tests
2323
{
24-
[TestFixtureSource(typeof(FbDefaultServerTypeTestFixtureSource))]
25-
[TestFixtureSource(typeof(FbEmbeddedServerTypeTestFixtureSource))]
24+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Default))]
25+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Embedded))]
2626
public class FbBlobTests : FbTestsBase
2727
{
2828
#region Constructors

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbBooleanSupportTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
namespace FirebirdSql.Data.FirebirdClient.Tests
2424
{
25-
[TestFixtureSource(typeof(FbDefaultServerTypeTestFixtureSource))]
26-
[TestFixtureSource(typeof(FbEmbeddedServerTypeTestFixtureSource))]
25+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Default))]
26+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Embedded))]
2727
public class FbBooleanSupportTests : FbTestsBase
2828
{
2929
private bool _shouldTearDown;

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbCommandBuilderTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
namespace FirebirdSql.Data.FirebirdClient.Tests
2424
{
25-
[TestFixtureSource(typeof(FbDefaultServerTypeTestFixtureSource))]
26-
[TestFixtureSource(typeof(FbEmbeddedServerTypeTestFixtureSource))]
25+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Default))]
26+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Embedded))]
2727
public class FbCommandBuilderTests : FbTestsBase
2828
{
2929
#region Fields

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbCommandTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
namespace FirebirdSql.Data.FirebirdClient.Tests
2727
{
28-
[TestFixtureSource(typeof(FbDefaultServerTypeTestFixtureSource))]
29-
[TestFixtureSource(typeof(FbEmbeddedServerTypeTestFixtureSource))]
28+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Default))]
29+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Embedded))]
3030
public class FbCommandTests : FbTestsBase
3131
{
3232
#region Constructors

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbConnectionStringBuilderTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717

1818
using System.Text;
1919
using FirebirdSql.Data.Common;
20+
using FirebirdSql.Data.TestsBase;
2021
using NUnit.Framework;
2122

2223
namespace FirebirdSql.Data.FirebirdClient.Tests
2324
{
25+
[NoServerCategory]
2426
public class FbConnectionStringBuilderTests
2527
{
2628
[Test]

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbConnectionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
namespace FirebirdSql.Data.FirebirdClient.Tests
2727
{
28-
[TestFixtureSource(typeof(FbDefaultServerTypeTestFixtureSource))]
29-
[TestFixtureSource(typeof(FbEmbeddedServerTypeTestFixtureSource))]
28+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Default))]
29+
[TestFixtureSource(typeof(FbServerTypeTestFixtureSource), nameof(FbServerTypeTestFixtureSource.Embedded))]
3030
public class FbConnectionTests : FbTestsBase
3131
{
3232
#region Constructors

0 commit comments

Comments
 (0)