n1k0/casperjs — pull request #937 by abelnation (2014-05-29 22:32:30+00:00)
Title: curTestSuiteNum fixes

Currently curTestSuiteNum is updated for every file that is run, restricting each file to one test suite per file.
This was causing issues in files with multiple sets of tests:
- stepTimeout uses an id of _, and stepTimeout stops polling if the id matches
- if a subsequent testSuite runs in the same file, it will have the same testSuiteId, causing potential misfires of stepTimeout

This separates file count from test suite count, eliminating the stepTimeout problem, and allowing multiple testSuites per file.