-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests results not shown #19
Comments
Hi, |
Hi, I think I see the problem in your command line. You are using --trfmt and --lr whereas it should be -trfmt and -lr. The short versions of the arguments need only a single hyphen. The full version of the argument needs the two hyphens. Last week I committed some changes to the runners to make them report the configuration as it was read in to help identify issues like this. Can you try changing your command line to this and see if it works:
Thanks |
I tried that but it didn't work. I still don't see the results in the Html generated by Pickles. Find below the feature and XML files thanks.
C:\Users\user\Pickles\src\Pickles\Pickles.CommandLine\bin\Debug\pickles.commandline --feature-directory:C:\Users\user\MyProject\Src\Sample\Src\Sample.Acceptance\Features --output-directory:C:\Users\user\MyProject\Src\Sample\Reports\Acceptance\UI\Browser\output -trfmt=nunit -lr=C:\Users\user\MyProject\Src
|
I think I see your problem. This is the HTML report file, not the XML On Mon, Nov 26, 2012 at 12:03 PM, kkrac [email protected] wrote:
|
I'm going to close this issue now but feel free to move the discussion to the newsgroup if you need help using NUnit to generate an XML report. Here is the relevant section for the nunit.console.exe command-line runner, which is what I use: http://www.nunit.org/index.php?p=consoleCommandLine&r=2.6.2. I reproduced it here:
|
* Corrected mistake and enhanced consistency in the CONTRIBUTING page. * Added new project for Markdown unit tests with initial, inconclusive, test. * Added another new project for Markdown acceptance tests with initial, inconclusive, test. * Initial hook up of Markdown builder and first feature, adding a Title. * Added Markdown document resolver * Refactored, concerns seperated into Stylist and TitleBlock classes. Static text placed in localization resource file for future translations. Some aspects still in builder for later refactoring when the path is clearer. * Updated build scripts to include Markdown library and tests * fix test.fsx error for Markdown.UnitTests reference * Downgrade Specflow to 2.3.2 to attempt build issue fix. Included partial work on Generated Info feature. * Corrected UnitTests namespace, added PicklesDoc. prefix. * Generation Time tested with new TestableDateTime singleton. Ready for refactoring. * Refactor Generation Info, now part of TitleBlock and Localization. * Implemented File Location feature. Scenario: Output is written to specified location * Minor cleanup in Markdown acceptance tests feature and steps * Feature Heading added to Markdown output * Feature Description added to Markdown output * Corrected line spacing for feature description * Feature Tags included in Markdown Output * Scenario Heading added to Markdown document * Added Scenario Tags to Markdown output * Confirm order of content in Markdown output for this acceptance testing * Steps in Scenarios added to Markdown output * Refactor code, documents have lines and different blocks which share a parent class all return collections of lines. * Feature Background included in Markdown Output * New Scenario Outline Feature. Table formatting moved to own class TableBlock ScenarioOutline formatting added in class ScenarioOutlineBlock * Fixed bug #19 - Couldn't write markdown output file Fixed bug #20 - Tags have double @ symbols * Fixed bug #21 - Scenario Outlines missing placeholders - In steps - In Tables * Include Markdown icon files in output folder * Scenario Result included in heading. Stylist updated to process ScenarioHeading TestResult. Updated ScenarioBlock to process TestResult values. Acceptance tests updated to test Scenario Status * Table construction now incudes results when available e.g. in scenario outline examples. * Markdown Stylist updated to include results and code refactored.
Hi
Not sure if I'm doing something wrong or what. It's the first time I use Pickles and am trying it with the latest version of Specflow (1.9.1)
I run pickles like this:
The Html Pickles document is generated successfully. But even though I specify the link-results-file parameter (it's valid, the Xml exists) Pickles does not add the outcome of the test to the Html it generates.
Maybe I'm mistaken about what the link-results-file is for? My understanding is that it's for Pickles to specify the outcome of the tests in the document it generates? If I'm correct, then why it doesn't show it? I tried generating a Word document instead of an HTML, and still can't see the tests outcome.
The text was updated successfully, but these errors were encountered: