Skip to content

Commit 37b6104

Browse files
committed
docs: Updated readme
1 parent 0e3196f commit 37b6104

File tree

4 files changed

+58
-52
lines changed

4 files changed

+58
-52
lines changed

src/NetEvolve.Extensions.MSTest/Internal/TestTraitBaseAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Justification = "As designed."
1212
)]
1313
[AttributeUsage(
14-
AttributeTargets.Class | AttributeTargets.Method,
14+
AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method,
1515
AllowMultiple = true,
1616
Inherited = true
1717
)]

src/NetEvolve.Extensions.MSTest/README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,30 @@ The following test frameworks are supported -
1010

1111
For consistent usage and addressing of use cases like `dotnet test -c Release --filter TestCategory=IntegrationTest`, the following attributes are provided in this library in the namespace `NetEvolve.Extensions.MSTest`.
1212

13-
- `AcceptanceTestAttribute`
14-
- `BugAttribute`
15-
- `EndToEndTestAttribute`
16-
- `EpicAttribute`
17-
- `FeatureAttribute`
18-
- `FunctionalTestAttribute`
19-
- `IntegrationTestAttribute`
20-
- `IssueAttribute`
21-
- `PerformanceTestAttribute`
22-
- `PostDeploymentTestAttribute`
23-
- `PreDeploymentTestAttribute`
24-
- `UnitTestAttribute`
25-
- `UserStoryAttribute`
26-
- `WorkItemAttribute`
13+
- `AcceptanceTestAttribute`
14+
- `ArchitectureTestAttribute`
15+
- `BugAttribute`
16+
- `EndToEndTestAttribute`
17+
- `EpicAttribute`
18+
- `FeatureAttribute`
19+
- `FunctionalTestAttribute`
20+
- `IntegrationTestAttribute`
21+
- `IssueAttribute`
22+
- `PerformanceTestAttribute`
23+
- `PostDeploymentTestAttribute`
24+
- `PreDeploymentTestAttribute`
25+
- `UnitTestAttribute`
26+
- `UserStoryAttribute`
27+
- `WorkItemAttribute`
2728

2829
### Applying
29-
30-
These can be applied to all class and method definitions as follows.
30+
These can be applied on assembly, class or method definitions as follows.
3131

3232
```cs
33+
[assembly: AcceptanceTest] // Mark all test methods of this assembly as AcceptanceTest
34+
3335
[TestClass]
34-
[AcceptanceTest] // Mark all test methods as AcceptanceTest
36+
[AcceptanceTest] // Mark all test methods of this class as AcceptanceTest
3537
public partial class FantasticTest
3638
{
3739
[TestMethod]

src/NetEvolve.Extensions.NUnit/README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,30 @@ For consistent usage and addressing of use cases like
1212
`dotnet test -c Release --filter TestCategory=IntegrationTest`,
1313
the following attributes are provided in this library in the namespace `NetEvolve.Extensions.NUnit`.
1414

15-
- `AcceptanceTestAttribute`
16-
- `BugAttribute`
17-
- `EndToEndTestAttribute`
18-
- `EpicAttribute`
19-
- `FeatureAttribute`
20-
- `FunctionalTestAttribute`
21-
- `IntegrationTestAttribute`
22-
- `IssueAttribute`
23-
- `PerformanceTestAttribute`
24-
- `PostDeploymentTestAttribute`
25-
- `PreDeploymentTestAttribute`
26-
- `UnitTestAttribute`
27-
- `UserStoryAttribute`
28-
- `WorkItemAttribute`
15+
- `AcceptanceTestAttribute`
16+
- `ArchitectureTestAttribute`
17+
- `BugAttribute`
18+
- `EndToEndTestAttribute`
19+
- `EpicAttribute`
20+
- `FeatureAttribute`
21+
- `FunctionalTestAttribute`
22+
- `IntegrationTestAttribute`
23+
- `IssueAttribute`
24+
- `PerformanceTestAttribute`
25+
- `PostDeploymentTestAttribute`
26+
- `PreDeploymentTestAttribute`
27+
- `UnitTestAttribute`
28+
- `UserStoryAttribute`
29+
- `WorkItemAttribute`
2930

3031
### Applying
31-
32-
These can be applied to all class and method definitions as follows.
32+
These can be applied on assembly, class or method definitions as follows.
3333

3434
```cs
35+
[assembly: AcceptanceTest] // Mark all test methods of this assembly as AcceptanceTest
36+
3537
[TestFixture]
36-
[AcceptanceTest] // Mark all test methods as AcceptanceTest
38+
[AcceptanceTest] // Mark all test methods of this class as AcceptanceTest
3739
public partial class FantasticTest
3840
{
3941
[Test]

src/NetEvolve.Extensions.XUnit/README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,29 @@ For consistent usage and addressing of use cases like
1212
`dotnet test -c Release --filter TestCategory=IntegrationTest`,
1313
the following attributes are provided in this library in the namespace `NetEvolve.Extensions.XUnit`.
1414

15-
- `AcceptanceTestAttribute`
16-
- `BugAttribute`
17-
- `EndToEndTestAttribute`
18-
- `EpicAttribute`
19-
- `FeatureAttribute`
20-
- `FunctionalTestAttribute`
21-
- `IntegrationTestAttribute`
22-
- `IssueAttribute`
23-
- `PerformanceTestAttribute`
24-
- `PostDeploymentTestAttribute`
25-
- `PreDeploymentTestAttribute`
26-
- `UnitTestAttribute`
27-
- `UserStoryAttribute`
28-
- `WorkItemAttribute`
15+
- `AcceptanceTestAttribute`
16+
- `ArchitectureTestAttribute`
17+
- `BugAttribute`
18+
- `EndToEndTestAttribute`
19+
- `EpicAttribute`
20+
- `FeatureAttribute`
21+
- `FunctionalTestAttribute`
22+
- `IntegrationTestAttribute`
23+
- `IssueAttribute`
24+
- `PerformanceTestAttribute`
25+
- `PostDeploymentTestAttribute`
26+
- `PreDeploymentTestAttribute`
27+
- `UnitTestAttribute`
28+
- `UserStoryAttribute`
29+
- `WorkItemAttribute`
2930

3031
### Applying
31-
32-
These can be applied to all class and method definitions as follows.
32+
These can be applied on assembly, class or method definitions as follows.
3333

3434
```cs
35-
[AcceptanceTest] // Mark all test methods as AcceptanceTest
35+
[assembly: AcceptanceTest] // Mark all test methods of this assembly as AcceptanceTest
36+
37+
[AcceptanceTest] // Mark all test methods of this class as AcceptanceTest
3638
public partial class FantasticTest
3739
{
3840
[Fact]

0 commit comments

Comments
 (0)