Skip to content

Commit 5bf2bd4

Browse files
committed
Update README and NuGet metadata
1 parent 6e30c2b commit 5bf2bd4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
![Icon](https://github.com/asherber/Xunit.Priority/raw/master/media/xunit-priority-64.png)
2+
13
# Xunit.Priority
24

5+
[![NuGet](https://img.shields.io/nuget/v/Xunit.Priority.svg)](https://nuget.org/packages/Xunit.Priority)
6+
37
Provides an `ITestCaseOrderer` that allows you to control the order of execution of Xunit tests within a class.
48

59
Based closely on the code at https://github.com/xunit/samples.xunit/tree/master/TestOrderExamples/TestCaseOrdering
610

7-
**Note** that the Xunit folks [have](https://github.com/xunit/xunit/issues/980#issuecomment-248213473) [stated](https://github.com/xunit/xunit/issues/1301#issuecomment-305323239) that they don't believe that well-written unit tests should be dependent on being run in a particular order. Nevertheless, there are some testing scenarios which are not strict unit testing and which may require test ordering.
11+
**Note** that the Xunit folks [have](https://github.com/xunit/xunit/issues/980#issuecomment-248213473) [stated](https://github.com/xunit/xunit/issues/1301#issuecomment-305323239) that they don't believe that well-written unit tests should be dependent on being run in a particular order, which is why this functionality is not available as part of the core package. Nevertheless, there are some testing scenarios which are not strict unit testing and which may require test ordering.
812

913
## Usage
1014

Xunit.Priority/Xunit.Priority.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<Copyright>2018</Copyright>
1010
<PackageTags>xunit priority order</PackageTags>
1111
<Company />
12+
<Description>Provides an ITestCaseOrderer that allows you to control the order of execution of Xunit tests within a class.</Description>
13+
<PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
14+
<PackageProjectUrl>https://github.com/asherber/Xunit.Priority</PackageProjectUrl>
15+
<PackageIconUrl>https://raw.githubusercontent.com/asherber/Xunit.Priority/master/media/xunit-priority-64.png</PackageIconUrl>
1216
</PropertyGroup>
1317

1418
<ItemGroup>

0 commit comments

Comments
 (0)