Hi,

I'm trying to use the FIT Maven plugin.
Everything works fine as long as I have just one table in an HTML
input file (and consequently just one single fixture is triggered).
Yet, when I have more than one table (and thus more than one fixture),
the first fixture is run correctly, but the second one fails - the
stack trace in the output HTML file tells me that the second fixture
fails to get loaded:

java.lang.RuntimeException: The fixture "MyTestFixture" was not found.
       at fit.Fixture.loadFixture(Unknown Source)
       at fit.Fixture.getLinkedFixtureWithArgs(Unknown Source)
       at fit.Fixture.interpretFollowingTables(Unknown Source)
       at fit.Fixture.interpretTables(Unknown Source)
       at fit.Fixture.doTables(Unknown Source)
       at org.codehaus.mojo.fit.FitRunnerMojo.run(FitRunnerMojo.java:207)
       at org.codehaus.mojo.fit.FitRunnerMojo.run(FitRunnerMojo.java:197)
       at org.codehaus.mojo.fit.FitRunnerMojo.run(FitRunnerMojo.java:190)
       at org.codehaus.mojo.fit.FitRunnerMojo.run(FitRunnerMojo.java:183)
       at org.codehaus.mojo.fit.FitRunnerMojo.execute(FitRunnerMojo.java:116)
       at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)

This happens even when using the same table (and thus the same fixture) twice!

The same input file runs without problems when using FIT from the
command line, so it appears to be an issue of the Maven plugin indeed.

When inspecting the plugin code, one notices that the methods that
trigger the error have been added for FITNESSE. Is the FIT Maven
plugin broken by these changes now?

-- Matthias

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to