Closed csavory closed 9 years ago
Hallo,
FlywayTestExecutionListener is the spring helper to interprete the annotation FlywayTest. This was early project decission to make all things explicit.
florian
On Wed, Jun 11, 2014 at 9:53 PM, csavory notifications@github.com wrote:
Why we need to annotate the test with @FlywayTest?? The test is already annotated with FlywayTestExecutionListener, which should let the Listener know that the test needs test data.
— Reply to this email directly or view it on GitHub https://github.com/flyway/flyway-test-extensions/issues/9.
Some additional notes about the one annotations @FlywayTest
and a TestExecutionListeners implementation (FlywayTestExecutionListener
) for getting spring things correct configured:
FlywayTestExecutionListener
is no longer needed to be configured and it can be used with classpath scanning. But this is not a plan on my roadmap.I see following problems with your wish
@FlywayTest
annotation in this test class. The change will break a couple off tests. You a right it is a ugly test setup but this is history.Florian
I do not want close the issue
No fix for that
Why do we need to annotate the test with
@FlywayTest
?? The test is already annotated withFlywayTestExecutionListener
, which should let the Listener know that the test needs test data.Would it be possible to just assume the defaults if
@FlywayTest
isn't present?