getCount
Returns the current value of a named counter.
getCount(name: string): number
Parameters
- name — The name of the counter
Return value
The current counter value (a number), or zero if the counter has never been used.
Related
- class TestCaseA class that represents a single test case, part of a TestScope.
- count(name, inc?)Increment a named counter.
- expectCount(name)Returns a new Assertion for the current value of a named counter.