Skip to content

Xray-App/tutorial-csharp-nunit-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tutorial with NUnit tests using Selenium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published