Open twolfson opened 11 years ago
A few months later and I still think this is a great idea. I am not sure why I wanted a default base context, that seems like overkill.
By default, expose the methods as before functions. As properties of those methods, we have before
, after
, beforeEach
, afterEach
methods which are .bind(suite.ctx)
.
How practical would it be to have
this
also access the content properties?The repercussions would require a default value system which means cleaning up the batch context as discussed in #5
The benefit would be doing something like:
For default base contexts, we might do something like: