Qase TMS NUnit Test
appsettings.json configuration:
{
"UrlAPI": "https://api.qase.io/v1",
"Api_Token": "your api token"
}
Inherit from the TestBase class in each of your test classes.
public class MyTests : TestBase
{
...
}
In your test class include the Qase project code [coded].
[Property("code", "your project code here")]
public class MyTests : TestBase
{
...
}
Include the Qase case id [caseid] and titel test [title] as a property to the test method. The steps contained in the test method should map to the test steps in the Qase test case.
[Test, Property("caseid", "your case id here")]
[Property("title", "your title test")]
public void GoogleTest()
{
..
}
Execute the tests in your test class. Open the project in Qase and view the test runs. The results were updated by executing the NUnit tests.
- Please see https://github.com/qase-tms/qase-net-api