Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-murzinov committed Nov 1, 2014
1 parent 3c912fd commit 33d949d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
2. Download latest release from [allure-nunit releases](https://github.com/allure-framework/allure-nunit/releases);
3. Unpack binaries to **%NUnit_installation_directory%\bin\addins**;
4. **NOTE:** addin will NOT be visible in **Tools -> Addins..** because it's built against **.NET 4.0**;
5. In **%NUnit_installation_directory%\bin\addins\config.xml** specify ABSOLUTE path to any folder (this folder will be created automatically) where **xml** files will be generated (e.g. **<allure-results>C:\test-results\AllureResults</allure-results>** or **<allure-results>/home/user/test-results/AllureResults</allure-results>**);
6. Run your tests with **NUnit GUI** or **nunit-console** using .NET 4.0 (e.g. nunit-console YourAssembly.dll /framework=net-4.0);
7. After all tests finish you'll see new folder that you specified on step 5 with generated **xml** files;
5. In **%NUnit_installation_directory%\bin\addins\config.xml** specify ABSOLUTE path to any folder (this folder will be created automatically) where **xml** files will be generated (e.g. **<results-path>C:\test-results\AllureResults</results-path>** or **<results-path>/home/user/test-results/AllureResults</results-path>**);
6. You can also specify in configuration whether you want to take screenshots after failed tests and whether you want to have test output to be written to attachments.
7. Run your tests with **NUnit GUI** or **nunit-console** using .NET 4.0 (e.g. nunit-console YourAssembly.dll /framework=net-4.0);
8. After all tests finish you'll see new folder that you specified on step 5 with generated **xml** files;

## How to generate report
This adapter only generates XML files containing information about tests. See [wiki section](https://github.com/allure-framework/allure-core/wiki#generating-report) on how to generate report.
Expand Down

0 comments on commit 33d949d

Please sign in to comment.