To fix #331, and generally make our code more scaleable and flexible.
Each test() will be given an instance of Assertion which has an internal reference back to the Test object, so that they can easily be called asynchronously.
In addition to the assertion helpers, it could have the following built-in to the context based system as well:
async()
done()
expect()
.not (instance of itself with internal reversal)
To fix #331, and generally make our code more scaleable and flexible.
Each
test()will be given an instance ofAssertionwhich has an internal reference back to the Test object, so that they can easily be called asynchronously.In addition to the assertion helpers, it could have the following built-in to the context based system as well:
async()done()expect().not(instance of itself with internal reversal)