From 33d949de4aa3a29b1acba6d025e9b4e19607f3ca Mon Sep 17 00:00:00 2001 From: Ilya Murzinov Date: Sat, 1 Nov 2014 22:26:27 +0400 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f8c21c..b065387 100644 --- a/README.md +++ b/README.md @@ -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.