Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Added the new CodedUITestAttribute #362

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as AcceptanceTest.
/// Attribute used to decorate a test class or method as <b>AcceptanceTest</b>.
/// </summary>
public sealed class AcceptanceTestAttribute : TestTraitBaseAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as ArchitectureTest.
/// Attribute used to decorate a test class or method as <b>ArchitectureTest</b>.
/// </summary>
public sealed class ArchitectureTestAttribute : TestTraitBaseAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/BugAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Bug, with optional Id
/// Attribute used to decorate a test class or method as <b>Bug</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class BugAttribute : TestCategoryWithIdBaseAttribute
Expand Down
15 changes: 15 additions & 0 deletions src/NetEvolve.Extensions.MSTest/CodedUITestAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
namespace NetEvolve.Extensions.MSTest;

using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as <b>CodedUITest</b>.
/// </summary>
public sealed class CodedUITestAttribute : TestTraitBaseAttribute
{
/// <summary>
/// Initializes a new instance of the <see cref="CodedUITestAttribute"/> class.
/// </summary>
public CodedUITestAttribute()
: base(Internals.CodedUITest) { }
}
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/EndToEndTestAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as EndToEndTest.
/// Attribute used to decorate a test class or method as <b>EndToEndTest</b>.
/// </summary>
public sealed class EndToEndTestAttribute : TestTraitBaseAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/EpicAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Epic, with optional Id
/// Attribute used to decorate a test class or method as <b>Epic</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class EpicAttribute : TestCategoryWithIdBaseAttribute
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/FeatureAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Feature, with optional Id
/// Attribute used to decorate a test class or method as <b>Feature</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class FeatureAttribute : TestCategoryWithIdBaseAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as FunctionalTest.
/// Attribute used to decorate a test class or method as <b>FunctionalTest</b>.
/// </summary>
public sealed class FunctionalTestAttribute : TestTraitBaseAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as IntegrationTest.
/// Attribute used to decorate a test class or method as <b>IntegrationTest</b>.
/// </summary>
public sealed class IntegrationTestAttribute : TestTraitBaseAttribute
{
Expand Down
5 changes: 5 additions & 0 deletions src/NetEvolve.Extensions.MSTest/Internals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,9 @@ internal static class Internals
/// ArchitectureTests
/// </summary>
public const string ArchitectureTest = nameof(ArchitectureTest);

/// <summary>
/// CodedUITests
/// </summary>
public const string CodedUITest = nameof(CodedUITest);
}
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/IssueAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Issue, with optional Id
/// Attribute used to decorate a test class or method as <b>Issue</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class IssueAttribute : TestCategoryWithIdBaseAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as PerformanceTest.
/// Attribute used to decorate a test class or method as <b>PerformanceTest</b>.
/// </summary>
public sealed class PerformanceTestAttribute : TestTraitBaseAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as PostDeployment.
/// Attribute used to decorate a test class or method as <b>PostDeployment</b>.
/// </summary>
public sealed class PostDeploymentAttribute : TestTraitBaseAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as PreDeployment.
/// Attribute used to decorate a test class or method as <b>PreDeployment</b>.
/// </summary>
public sealed class PreDeploymentAttribute : TestTraitBaseAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/UnitTestAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as UnitTest.
/// Attribute used to decorate a test class or method as <b>UnitTest</b>.
/// </summary>
public sealed class UnitTestAttribute : TestTraitBaseAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/UserStoryAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as UserStory, with optional Id
/// Attribute used to decorate a test class or method as <b>UserStory</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class UserStoryAttribute : TestCategoryWithIdBaseAttribute
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.MSTest/WorkItemAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.MSTest.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as WorkItem, with optional Id
/// Attribute used to decorate a test class or method as <b>WorkItem</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class WorkItemAttribute : TestCategoryWithIdBaseAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as AcceptanceTest.
/// Attribute used to decorate a test class or method as <b>AcceptanceTest</b>.
/// </summary>
public sealed class AcceptanceTestAttribute : CategoryAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as UnitTest.
/// Attribute used to decorate a test class or method as <b>ArchitectureTest</b>.
/// </summary>
public sealed class ArchitectureTestAttribute : CategoryAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/BugAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.NUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Bug, with optional Id
/// Attribute used to decorate a test class or method as <b>Bug</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class BugAttribute : CategoryIdBaseAttribute
Expand Down
15 changes: 15 additions & 0 deletions src/NetEvolve.Extensions.NUnit/CodedUITestAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
namespace NetEvolve.Extensions.NUnit;

using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as <b>CodedUITest</b>.
/// </summary>
public sealed class CodedUITestAttribute : CategoryAttribute
{
/// <summary>
/// Initializes a new instance of the <see cref="CodedUITestAttribute"/> class.
/// </summary>
public CodedUITestAttribute()
: base(Internals.CodedUITest) { }
}
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/EndToEndTestAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as EndToEndTest.
/// Attribute used to decorate a test class or method as <b>EndToEndTest</b>.
/// </summary>
public sealed class EndToEndTestAttribute : CategoryAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/EpicAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.NUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Epic, with optional Id
/// Attribute used to decorate a test class or method as <b>Epic</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class EpicAttribute : CategoryIdBaseAttribute
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/FeatureAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.NUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Feature, with optional Id
/// Attribute used to decorate a test class or method as <b>Feature</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class FeatureAttribute : CategoryIdBaseAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as FunctionalTest.
/// Attribute used to decorate a test class or method as <b>FunctionalTest</b>.
/// </summary>
public sealed class FunctionalTestAttribute : CategoryAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as IntegrationTest.
/// Attribute used to decorate a test class or method as <b>IntegrationTest</b>.
/// </summary>
[AttributeUsage(
AttributeTargets.Class | AttributeTargets.Method,
Expand Down
5 changes: 5 additions & 0 deletions src/NetEvolve.Extensions.NUnit/Internals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,9 @@ internal static class Internals
/// ArchitectureTests
/// </summary>
public const string ArchitectureTest = nameof(ArchitectureTest);

/// <summary>
/// CodedUITests
/// </summary>
public const string CodedUITest = nameof(CodedUITest);
}
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/IssueAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.NUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Issue, with optional Id
/// Attribute used to decorate a test class or method as <b>Issue</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class IssueAttribute : CategoryIdBaseAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as PerformanceTest.
/// Attribute used to decorate a test class or method as <b>PerformanceTest</b>.
/// </summary>
public sealed class PerformanceTestAttribute : CategoryAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as PostDeployment.
/// Attribute used to decorate a test class or method as <b>PostDeployment</b>.
/// </summary>
public sealed class PostDeploymentAttribute : CategoryAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/PreDeploymentAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as PreDeployment.
/// Attribute used to decorate a test class or method as <b>PreDeployment</b>.
/// </summary>
public sealed class PreDeploymentAttribute : CategoryAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/UnitTestAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using global::NUnit.Framework;

/// <summary>
/// Attribute used to decorate a test class or method as UnitTest.
/// Attribute used to decorate a test class or method as <b>UnitTest</b>.
/// </summary>
public sealed class UnitTestAttribute : CategoryAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/UserStoryAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.NUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as UserStory, with optional Id
/// Attribute used to decorate a test class or method as <b>UserStory</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class UserStoryAttribute : CategoryIdBaseAttribute
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.NUnit/WorkItemAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.NUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as WorkItem, with optional Id
/// Attribute used to decorate a test class or method as <b>WorkItem</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class WorkItemAttribute : CategoryIdBaseAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.XUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as <see cref="AcceptanceTestAttribute"/>
/// Attribute used to decorate a test class or method as <b>AcceptanceTest</b>.
/// </summary>
public sealed class AcceptanceTestAttribute : CategoryTraitBaseAttribute
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.XUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as ArchitectureTest
/// Attribute used to decorate a test class or method as <b>ArchitectureTest</b>.
/// </summary>
public sealed class ArchitectureTestAttribute : CategoryTraitBaseAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.XUnit/BugAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using NetEvolve.Extensions.XUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Bug, with optional Id
/// Attribute used to decorate a test class or method as <b>Bug</b>, with optional Id.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class BugAttribute : CategoryWithIdTraitBaseAttribute
Expand Down
15 changes: 15 additions & 0 deletions src/NetEvolve.Extensions.XUnit/CodedUITestAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
namespace NetEvolve.Extensions.XUnit;

using NetEvolve.Extensions.XUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as <b>CodedUITest</b>.
/// </summary>
public sealed class CodedUITestAttribute : CategoryTraitBaseAttribute
{
/// <summary>
/// Initializes a new instance of the <see cref="CodedUITestAttribute"/> class.
/// </summary>
public CodedUITestAttribute()
: base(Internals.CodedUITest) { }
}
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.XUnit/EndToEndTestAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.XUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as EndToEndTest
/// Attribute used to decorate a test class or method as <b>EndToEndTest</b>.
/// </summary>
public sealed class EndToEndTestAttribute : CategoryTraitBaseAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.XUnit/EpicAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.XUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Epic, with optional Id
/// Attribute used to decorate a test class or method as <b>Epic</b>, with optional Id
/// </summary>
public sealed class EpicAttribute : CategoryWithIdTraitBaseAttribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/NetEvolve.Extensions.XUnit/FeatureAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using NetEvolve.Extensions.XUnit.Internal;

/// <summary>
/// Attribute used to decorate a test class or method as Feature, with optional Id
/// Attribute used to decorate a test class or method as <b>Feature</b>, with optional Id
/// </summary>
public sealed class FeatureAttribute : CategoryWithIdTraitBaseAttribute
{
Expand Down
Loading