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
047a8091
...
047a809184ec21394b775d237683336b2b784c43
authored
2013-02-25 18:09:45 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated CHANGELOG
1 parent
de27476e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
CHANGELOG.md
CHANGELOG.md
View file @
047a809
...
...
@@ -66,17 +66,17 @@ casper.test.begin('Casperjs.org is navigable', 2, function suite(test) {
});
```
`Tester#begin()`
has also
`setUp()`
and
`tearDown()`
capabilities:
`Tester#begin()`
has also
`setUp()`
and
`tearDown()`
capabilities
if you pass it a configuration object instead of a function
:
```
js
var
range
;
casper
.
test
.
begin
(
'range tests'
,
1
,
{
setUp
:
function
()
{
range
=
[
1
,
2
,
3
];
range
:
[
1
,
2
],
setUp
:
function
(
test
)
{
this
.
range
.
push
(
3
);
},
tearDown
:
function
()
{
range
=
undefined
;
tearDown
:
function
(
test
)
{
range
=
[]
;
},
test
:
function
(
test
)
{
test
.
assertEquals
(
range
.
length
,
3
);
...
...
Please
register
or
sign in
to post a comment