n1k0/casperjs — pull request #266 by starlocke (2012-11-02 16:11:30+00:00)
Title: Fix Tester module and its selftest

The aliases for the Tester module's methods need to be included in the selftest.

Regression happened, and was not reported by the original selftest scripts. Specifically, `Tester.assertThrows()` and `Tester.assertSelectorExists()` were mis-declared and backwards compatibility broke.

This contribution improves the selftest, and fixes the declarations of those 2 methods.

**Notice** - the selftest for the Tester module simply fails hard when undefined functions are called upon, and the bottom-line result of the selftest actually shows "green", whereas, scrolling through the full log will reveal "red" errors. This is because the selftest is not yet at the level of "let me assert that the method exists before I try to invoke it". Similar issues are likely to exist with all the other selftest scripts.