I'm using concordion to create unit tests in eclipse. So now I want to add an Image into html file using testrunner. The Image is in the same folder like testFixture.java and test.html in eclipse. After running the testFixture.java a html file will be generated in a output-directory. So now I want add that Image into html file during running the testFixture.java.
So my question, is that possible at all?
The
@ConcordionResourcesannotation can be used to add new CSS, JavaScript, images, or other resources to your specification in order to tweak or completely overhaul the existing styling.As an example, executing the following fixture:
adds
image.jpgto the generated specification. See http://concordion.org/coding/java/html/#adding-resources for full details.