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
11a5e31f
...
11a5e31f4b06741145b4092b38ace7a1db5ef510
authored
2012-03-13 09:42:16 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added `--log-level` and `--direct` options to `casper test` command
1 parent
4b1a8b2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
tests/run.js
tests/run.js
View file @
11a5e31
...
...
@@ -10,6 +10,10 @@ var casper = require('casper').create({
faultTolerant
:
false
});
// Options from cli
casper
.
options
.
verbose
=
casper
.
cli
.
get
(
'direct'
)
||
false
;
casper
.
options
.
logLevel
=
casper
.
cli
.
get
(
'log-level'
)
||
"error"
;
// Overriding Casper.open to prefix all test urls
casper
.
setFilter
(
'open.location'
,
function
(
location
)
{
if
(
!
/^http/
.
test
(
location
))
{
...
...
Please
register
or
sign in
to post a comment