Skip to content

Commit 13fa4f3

Browse files
committed
adding Trait, category for the tests
1 parent 81bc9ad commit 13fa4f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/AzureStackTests.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
namespace Microsoft.AzureStack.Commands.Admin.Test
1616
{
1717
using Microsoft.AzureStack.Commands.Admin.Test.Common;
18+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1819
using Xunit;
1920

2021
/// <summary>
@@ -24,12 +25,14 @@ namespace Microsoft.AzureStack.Commands.Admin.Test
2425
public class AzureStackTests
2526
{
2627
[Fact]
28+
[Trait(Category.AcceptanceType, Category.CheckIn)]
2729
public void TestResourceGroup()
2830
{
2931
AzStackTestRunner.NewInstance.RunPsTest("Test-ResourceGroup");
3032
}
3133

3234
[Fact]
35+
[Trait(Category.AcceptanceType, Category.CheckIn)]
3336
public void TestPlan()
3437
{
3538
AzStackTestRunner.NewInstance.RunPsTest("Test-Plan");
@@ -42,36 +45,42 @@ public void TestOffer()
4245
}
4346

4447
[Fact]
48+
[Trait(Category.AcceptanceType, Category.CheckIn)]
4549
public void TestTenantSubscription()
4650
{
4751
AzStackTestRunner.NewInstance.RunPsTest("Test-TenantSubscription");
4852
}
4953

5054
[Fact]
55+
[Trait(Category.AcceptanceType, Category.CheckIn)]
5156
public void TestDelegatedOffer()
5257
{
5358
AzStackTestRunner.NewInstance.RunPsTest("Test-DelegatedOffer");
5459
}
5560

5661
[Fact]
62+
[Trait(Category.AcceptanceType, Category.CheckIn)]
5763
public void TestUpdateSubscriptionServiceQuota()
5864
{
5965
AzStackTestRunner.NewInstance.RunPsTest("Test-UpdateSubscriptionServiceQuota");
6066
}
6167

6268
[Fact]
69+
[Trait(Category.AcceptanceType, Category.CheckIn)]
6370
public void TestAddDelegatedOffer()
6471
{
6572
AzStackTestRunner.NewInstance.RunPsTest("Test-AddDelegatedOffer");
6673
}
6774

6875
[Fact]
76+
[Trait(Category.AcceptanceType, Category.CheckIn)]
6977
public void TestManagedLocation()
7078
{
7179
AzStackTestRunner.NewInstance.RunPsTest("Test-ManagedLocation");
7280
}
7381

7482
[Fact]
83+
[Trait(Category.AcceptanceType, Category.CheckIn)]
7584
public void TestGalleryItem()
7685
{
7786
var testRunner = AzStackTestRunner.NewInstance;

0 commit comments

Comments
 (0)