0

We run our test in Jenkins from package where we have 10 classes. Each class represents one scenario.

At the end we have one graph trend where we have trends for all tests. But when we try to add assertion and assertion failed, the build failed too.

test run command:

mvn gatling:test -D gatling.includes=packageName.*

Is it possible to made test suite where each scenario have own assertion, not in setup?

Is it possible to made build fail after finishing all tests, even if the assertion for some test failed and after that in Jenkins getting tests trends in one graph (in one graph 10 tests trends)?

Michail Alexakis
  • 1,405
  • 15
  • 14
Typ
  • 29
  • 3

1 Answers1

0

No. Assertions are currently only global, not per scenario.

Stéphane LANDELLE
  • 6,076
  • 2
  • 10
  • 12