Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 2.5 KB

README.md

File metadata and controls

58 lines (36 loc) · 2.5 KB

Tutorial with NUnit tests using Selenium Webdriver

build workflow FOSSA Status license Gitter chat

Overview

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.

Prerequisites

In order to run this tutorial, you need to have .NET 5. Dependencies can be installed using:

dotnet restore

Running

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

Submitting results to Jira

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.

Contact

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.

References

LICENSE

BSD 3-Clause