Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
move test orderer
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-nitehawk committed Aug 29, 2023
1 parent 26aa95a commit aab3275
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MongoWebApiStarterTemplate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>

<PackageVersion>7.10.2</PackageVersion>
<PackageVersion>7.10.3</PackageVersion>

<PackageType>Template</PackageType>
<PackageId>MongoWebApiStarter</PackageId>
Expand Down
1 change: 0 additions & 1 deletion Template/Tests/AccountTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace Tests;

[TestCaseOrderer(PriorityOrderer.Name, PriorityOrderer.Assembly)]
public class AccountTests : TestBase
{
public AccountTests(AppFixture fixture) : base(fixture) { }
Expand Down
2 changes: 2 additions & 0 deletions Template/Tests/Fixtures/AppFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
using Microsoft.Extensions.Logging;
using Xunit;
using Xunit.Abstractions;
using Xunit.Priority;

namespace Tests;

[TestCaseOrderer(PriorityOrderer.Name, PriorityOrderer.Assembly)]
public abstract class TestBase : IClassFixture<AppFixture>
{
protected AppFixture App { get; init; }
Expand Down
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- csproj and template setup cleanups
- csproj and template setup cleanups
- move test orderer attribute to base test class

0 comments on commit aab3275

Please sign in to comment.