Requesting feature to add parameters to TestAttribute #1203
Closed
bhagatabhijeet
started this conversation in
Ideas
Replies: 1 comment
-
sorry closing the discussion as i think i did not read the PropertyAttribute earlier. My apologies 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In our testing we automate a lot of UI Testing cases and in order to produce a report to management we have to show how many and what all test cases are automated. our tests come from well known test repositories like TestRail, HPALM, Testlink etc.
each of those tests in the repositories have unique TestIds
during automation using Nunit we have a custom [Test, TestId="TESTID"]
having an ability to pass parameters to TestAttribute or ability to extend or create custom TestAttribute with TestId parameter would be great.
Nunit supports following Named Test parameters out of box just for example
Author sets the author of the test.
Category provides a comma-delimited list of categories for this test.
Description sets the description property of the test.
ExcludePlatform specifies a comma-delimited list of platforms on which the test should not run.
ExpectedResult sets the expected result to be returned from the method, which must have a compatible return type.
Explicit is set to true in order to make the individual test case Explicit. Use Reason to explain why.
Ignore causes the test case to be ignored and specifies the reason.
IgnoreReason causes this test case to be ignored and specifies the reason.
IncludePlatform specifies a comma-delimited list of platforms on which the test should run.
Reason specifies the reason for not running this test case. Use in conjunction with Explicit.
TestName provides a name for the test. If not specified, a name is generated based on the method name and the arguments provided. See Template Based Test Naming.
TestOf specifies the Type that this test is testing (this is not used within NUnit during test execution, but may serve a purpose for the test author)
TypeArgs specifies the Types to be used when targeting a generic test method. (NUnit 4.1+)
Beta Was this translation helpful? Give feedback.
All reactions