Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
b9944a93
...
b9944a931abd6d3d16679f66daf398136c182e1d
authored
2013-01-17 10:24:28 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed edge case in xunit export
1 parent
96e2707f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
CHANGELOG.md
modules/xunit.js
CHANGELOG.md
View file @
b9944a9
...
...
@@ -72,6 +72,7 @@ XXXX-XX-XX, v1.0.1
-
fixed
[
#336
](
https://github.com/n1k0/casperjs/issues/336
)
- Test result duration may have an exotic value
-
Added
`casper.mouse.doubleclick()`
-
fixed
[
#343
](
https://github.com/n1k0/casperjs/issues/343
)
- Better script checks
-
fixed an edge case with xunit export when
`phantom.casperScript`
may be not defined
2012-12-24, v1.0.0
------------------
...
...
modules/xunit.js
View file @
b9944a9
...
...
@@ -45,7 +45,8 @@ var TestSuiteResult = require('tester').TestSuiteResult;
*/
function
generateClassName
(
classname
)
{
"use strict"
;
var
script
=
classname
.
replace
(
phantom
.
casperPath
,
""
).
trim
()
||
phantom
.
casperScript
;
classname
=
(
classname
||
""
).
replace
(
phantom
.
casperPath
,
""
).
trim
();
var
script
=
classname
||
phantom
.
casperScript
||
""
;
if
(
script
.
indexOf
(
fs
.
workingDirectory
)
===
0
)
{
script
=
script
.
substring
(
fs
.
workingDirectory
.
length
+
1
);
}
...
...
Please
register
or
sign in
to post a comment