spectacle icon indicating copy to clipboard operation
spectacle copied to clipboard

Show tags next to spec and scenario

Open edusantana opened this issue 3 years ago • 2 comments

Add a --show-tags:

gauge docs spectacle --show-tags spec

Then it would generate with tags next to it:

2021-04-05_10-47

For the software it is important:

  • what it is (spec)
  • know what is working (failing and passing)

But a feature can be verified with a manual testing

I would like a workflow to say witch spec and scenarios would be checked manually, and those status. The ideia is to add tags like manual, failing or pending. This way we would mark which spec are tested manually, which was are known as falures (by manual test) and which spec are pending because of steps are developed yet.

And I know we can filter it, but this way have separated reports, one for each tag:

Peek 05-04-2021 11-05

edusantana avatar Apr 05 '21 14:04 edusantana

Thanks for raising this. I need to investigate what's the best way to pass arguments to the documentation plugin.

In gauge docs spectacle --show-tags spec - --show-tags will get passed as a flag to gauge, but gauge does not propagate flags to plugins.

sriv avatar Apr 05 '21 16:04 sriv

If it's difficult, then I susgest just showing tags at right side:

tags-2021-04-06_05-46

At the moment, I have to teach which tags are available to filter.

And here, how it was implemented:

<li><p><b><a href="specs/app/app.html">Home do App</a>
<span style="float: right">[<a href="#">app</a>]</span></b></p>
<ol><li>Exibe informaçoes do integrador<span style="float: right">[<a href="#">app</a>]</span></li><li>Exibe as usinas do usuário<span style="float: right">[<a href="#">app</a>]</span></li><li>Exibe as informações de cada usina<span style="float: right">[<a href="#">app</a>]</span></li><li>Ligar para o telefone do integrador <span style="float: right">[<a href="#">app</a>,<a href="#">manual</a>]</span></li></ol><p></p></li>

edusantana avatar Apr 06 '21 08:04 edusantana