-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
We use PHPs new namespaces, thus our class names contain backslashes. This profoundly confuses the
generation of the test result overview page. For a test that is shown with a name like
F3\FLOW3\SomeTest.testNameHere
the URL generated is
http://.../testReport/(root)/F3/FLOW3/SomeTest/testNameHere
That results in a 404, correct would be
http://.../testReport/(root)/F3%5CFLOW3%5CSomeTest/testNameHere
which works fine if entered manually. Thus \ needs to be escaped to %5C rather than replaced by /.
If you need more info or some help with testing things, let me know.
This has some similarity to what has been described in #1768, it seems test result URLs could be more
robust.
What are your env details (platform, container..)?
I haven't been able to reproduce this problem so far.. I do see the problem in
issue #1768 with colons, but backslashes stay as backslashes in my URLs (Solaris
10, builtin winstone container).
Can you look at the XML for your test results and post a sample <testcase> line
here? I've tested with manually constructed lines like:
<testcase classname="my\test\here" name="test\one" time="0.01" />
I get a URL like:
..../testReport/(root)/my\test\here/test_one/
which has unchanges backslashes in the classname part, but changed to _ in the
name part.. but the URL seems to work OK.