Let users supply their own test function#315
Conversation
You may want to run a different test suite like Jest, for example. This will make it so you can create a `run_tests` function in `.dev-lib` for convenience.
|
@kasparsd could you review, merge, and tag a new version. I need this so I can send JS coverage to Coveralls. I can obviously do it a thousand other ways like the |
kasparsd
left a comment
There was a problem hiding this comment.
Is this expecting a user defined run_tests function in .dev-lib, for example?
Since the conditional check does stand out in the middle of all the run_* calls, could we document the purpose of it or the suggested use as an inline comment?
Also, should we make it sound more generic so that it could be used for anything -- not just tests? Maybe run it first thing after the scope check?
|
@kasparsd Yes this is expecting a user defined |
|
@derekherman How about a generic |
|
@kasparsd sounds good! |
You may want to run a different test suite like Jest, for example. This will make it so you can create a
run_testsfunction in.dev-libfor convenience.