Clone
Cédric Champeau
committed
on 29 Mar 18
Introduce a CodeNarc rule to check for incorrect usages of integration test fixtures
This commits adds a CodeNarc rule which, for now, only … Show more
Introduce a CodeNarc rule to check for incorrect usages of integration test fixtures

This commits adds a CodeNarc rule which, for now, only looks for usages of

`result.output.contains(...)` and will report that as an incorrect usage of test fixtures,

because we should either use `outputContains(...)` or `failure.assertHasCause(...)`.

More usages can be added easily.

Show less

master + 449 more