Katello Scenario tests and annotations merged

Hi All,

I have just merged https://github.com/Katello/katello/pull/6716 which
adds some end to end testing for a small set of scenarios (that will
likely be expanded over time). It also adds annotations to these
requests and the ability to generated documentation around them. The
end goal being to a) have better testing for full scenarios and b) be
able to look up all the interactions between katello and pulp and
candlepin easily. (https://github.com/theforeman/theforeman.org/pull/845
is the first iteration of that)

Most of the time you should notice no difference. However sometimes if
you add or change an api call to pulp or candlepin you may start seeing
test failures (especially as we add requests). Once you re-record the
annotations (see README below), you may see that there are missing
annotations which need to be added to your PR.

Feel free to read


for more information and let me know if you have questions.

-Justin

Justin Sherrill <jsherril@redhat.com> writes:

> Hi All,
>
> I have just merged https://github.com/Katello/katello/pull/6716 which
> adds some end to end testing for a small set of scenarios (that will
> likely be expanded over time). It also adds annotations to these
> requests and the ability to generated documentation around them. The
> end goal being to a) have better testing for full scenarios and b) be
> able to look up all the interactions between katello and pulp and
> candlepin easily. (https://github.com/theforeman/theforeman.org/pull/845
> is the first iteration of that)
>
> Most of the time you should notice no difference. However sometimes if
> you add or change an api call to pulp or candlepin you may start seeing
> test failures (especially as we add requests). Once you re-record the
> annotations (see README below), you may see that there are missing
> annotations which need to be added to your PR.
>
> Feel free to read
> https://github.com/Katello/katello/blob/master/test/scenarios/annotations/README.md
> for more information and let me know if you have questions.

Interesting,

BTW. for those of you lazy to actually run the rake, but still
interested into how the output looks like, have a look at :slight_smile:

https://theforeman.org/plugins/katello/nightly/annotations/index.html

– Ivan

··· > > -Justin > > -- > You received this message because you are subscribed to the Google Groups "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.