简体   繁体   中英

Why does junit complain about missing xsl files ?

Im getting a complaint in my Ant build which refers to a missing junit file :

/reports/style/junit-frames.xsl

This error creeped up after I added the tag to my ant tasks, as a method for printing the failures of unit tests out .

JUnit frames expects XSL stylesheets to format the reports correctly. These are junit-frames.xsl and junit-noframes.xsl . You'll need to create these files, or copy them from somewhere. I guess you've defined a styledir which doesn't exist or something?

See JUnitReport task , parameters section.

There are example files in <ant installation directory>/etc .

Because this file probably does not exist and you will have to write it.

I guess you are referring to your other question ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM