question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use a yellow badge with "?" icon for ignored tests (currently blank)

See original GitHub issue

I followed the official doc to change the SpecRunner report. But what are my next steps?

So I googled and found a guide on youtube explaining how integrate the results of a SpecRun execution (pass/fail) into Pickles DHTML… however it used PicklesUI and I need something that will run on CI.

I continued to look for clues and found this link-results-file parameter. Why isn’t that referenced on the “Integrating Test Results From SpecFlow+ Runner”?

Finally this was my execution, which resulted in a cryptic error:

pickles.exe
  --feature-directory=Features  --output-directory=GeneratedDocs\  --documentation-format=dhtml
  --link-results-file=TestResults\Specs_Default_2017-05-17T095431.html  --test-results-format=specrun

Pickles v.2.15.0.0
Generating documentation based on the following parameters
----------------------------------------------------------
Feature Directory              : (...)
Output Directory               : (...)
Project Name                   :
Project Version                :
Language                       : en
Incorporate Test Results?      : Yes
Include Experimental Features? : No
Exclude Tag                    :
Test Result Format        : SpecRun
Test Result File          : (...)TestResults\PartnerPortal.Specs_Default_2017-05-17T095431.html

Pickles did not complete successfully An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ITestResults (DelegateActivator), Services = [PicklesDoc.Pickles.ObjectModel.ITestResults], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SpecRunResults (ReflectionActivator), Services = [PicklesDoc.Pickles.TestFrameworks.SpecRun.SpecRunResults], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(PicklesDoc.Pickles.IConfiguration, PicklesDoc.Pickles.TestFrameworks.SpecRun.SpecRunSingleResultLoader, PicklesDoc.Pickles.TestFrameworks.SpecRun.SpecRunScenarioOutlineExampleMatcher)' on type 'SpecRunResults'. ---> StartIndex cannot be less than zero.
Parameter name: startIndex (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)

Can you help me?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dirkrombautscommented, May 28, 2017

Hi,

Thanks for your contribution to the docs, and your suggestion for the app. I hope I’ll be able to put in a bit more work on Pickles in the couple of days to include this.

0reactions
dirkrombautscommented, Jun 6, 2017

Release as part of version 2.16.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Yellow toolbar icon / exclamation mark badge : r/uBlockOrigin
A yellow toolbar button indicates that uBO is not yet ready (is starting/loading). An exclamation mark badge means that some network ...
Read more >
How to get the envolope badge back on Outlook 2016 (365)
- I went to taskbar settings and chose to use large icons and to show badges on taskbar. - I tried turning cached...
Read more >
Input_boolean icon ignored in Badge - Configuration
I have an input_boolean object with icon defined. input_boolean: house_occupied: name: House is occupied initial: off icon: mdi:home-account.
Read more >
Icon Badge - OutSystems 11 Documentation
You can use the Icon Badge UI Pattern to display numerical information as a notification. ... Blank - No custom styles are added...
Read more >
Icon Badge - OutSystems 11 Documentation
You can use the Icon Badge UI Pattern to display numerical information as a notification. ... Blank - displays the icon only with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found