fixes #546 - updated 1.1 upgrade docs regarding getPasses/getFailures
Showing
1 changed file
with
4 additions
and
2 deletions
... | @@ -94,11 +94,13 @@ CasperJS 1.1 now internally uses PhantomJS' native ``require()`` function, but i | ... | @@ -94,11 +94,13 @@ CasperJS 1.1 now internally uses PhantomJS' native ``require()`` function, but i |
94 | As of 1.1, CasperJS now uses native PhantomJS' ``require()`` function which doesn't support the ``__file__`` builtin variable within custom modules like 1.0 allowed. | 94 | As of 1.1, CasperJS now uses native PhantomJS' ``require()`` function which doesn't support the ``__file__`` builtin variable within custom modules like 1.0 allowed. |
95 | 95 | ||
96 | 96 | ||
97 | ``Tester#getFailures()`` and ``Tester#getSuccesses()`` methods removed | 97 | ``Tester#getFailures()`` and ``Tester#getPasses()`` methods removed |
98 | ---------------------------------------------------------------------- | 98 | ------------------------------------------------------------------- |
99 | 99 | ||
100 | These two methods have been removed from the :doc:`Tester <../modules/tester>` API. | 100 | These two methods have been removed from the :doc:`Tester <../modules/tester>` API. |
101 | 101 | ||
102 | You can retrieve test failure and success records by simply accessing `tester.currentSuite.failures` and `tester.currentSuite.passes` instead. | ||
103 | |||
102 | 104 | ||
103 | Step and run completion callbacks don't throw anymore | 105 | Step and run completion callbacks don't throw anymore |
104 | ----------------------------------------------------- | 106 | ----------------------------------------------------- | ... | ... |
-
Please register or sign in to post a comment