[ https://issues.apache.org/jira/browse/OFBIZ-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-3391. ---------------------------------- > error in JUnit reports generation > --------------------------------- > > Key: OFBIZ-3391 > URL: https://issues.apache.org/jira/browse/OFBIZ-3391 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Erwan de FERRIERES > Assignee: Jacopo Cappellato > Fix For: SVN trunk > > > the junitreport task is generating bad links for displaying the tests result. > Steps to reproduce : > # ant run-install then ant run-tests > # open in a browser the runtime/logs/test-results/html/index.html file > # click on the "all tests" link, wich is displaying 135 > # then try to get into a class or a test name. > It should display an error message, saying that there is no file. > The link is calling file:///0_accountingtests.html#accounting-tests-data-load > but should be file://<path to ofbiz > instance>/runtime/logs/test-results/html/0_accountingtests.html#accounting-tests-data-load > When looking a the generated html files, there is an unneeded "/" at the > beginning of the file : > {code} > <td><a href="/0_accountingtests.html">accountingtests</a></td><td><a > name="auto-accounting-transaction-tests.testAcctgTransOnPaymentSentToSupplier"></a><a > href="/0_accountingtes > {code} > which should be : > {code} > <td><a href="0_accountingtests.html">accountingtests</a></td><td><a > name="auto-accounting-transaction-tests.testAcctgTransOnPaymentSentToSupplier"></a><a > href="0_accountingtes > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)