Code that supports the tutorial Testing web applications using Nunit showcasing the integration between Xray Test Management on Jira and NUnit.
The test automation code implements some basic Selenium Webdriver tests. There are also some other unrelated tests using Google as the target SUT, in case you want to explore further.
In order to run this tutorial, you need to have .NET 5. Dependencies can be installed using:
dotnet restore
Tests can be run using locally dotnet
tool.
dotnet test -s nunit.runsettings --filter WebdemoTests
Tests can also run inside a Docker container; local directory should be mounted so that NUnit XML results are stored locally.
docker build . -t nunit_webdriver_tests
docker run --rm -v $(pwd)/TestResults:/source/bin/Debug/net5.0/TestResults -t nunit_webdriver_tests
Results can be submitted to Jira so that they can be shared with the team and their impacts be easily analysed. This can be achieved using Xray Test Management as shown in further detail in this tutorial.
Any questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's. For Xray specific questions, please contact Xray's support team.