The planned argument in the begin function needs more explanation in the documentation

8 views
Skip to first unread message

David O

unread,
Jul 9, 2016, 10:08:54 PM7/9/16
to CasperJS

The planned argument in the begin function needs more explanation.

It is not at all obvious what its purpose is nor is it obvious what value to pass. Why would one pass one value versus another - 2, 10, 0 - why?


Ken

unread,
May 28, 2017, 10:22:08 PM5/28/17
to CasperJS
The number is actually to say for that test suite how many test assertions will be tested. So that at the end there is a check to make sure the number of assertions made is the same as what is planned.
Reply all
Reply to author
Forward
0 new messages