-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise events to allow better external integration #141
Comments
Glad you like AVA! Could you please provide some examples, what kind of events are you interested in? |
Here are a couple events from
I know there's the |
Sounds reasonable to me, I think it'd be great to have this anyway. @sindresorhus @kevva what do you think? |
Cool! Makes sense. PR welcome. |
Let's move the discussion to #1043. |
Hey guys, AVA looks promising!
I have started adding AVA support to wallaby.js and so far it looks awesome:
I did however have to monkey-patch a couple of functions to get the data I need for the integration. Other testing frameworks, such as Mocha and Jasmine, expose some APIs (in one form or another) to allow external integrations. For example via their reporters one may get an event when a test/hook is about to start and when the test is finished, etc.
While I understand that AVA's idea is to stay simple, I don't think raising a few events would hurt the simplicity much. Would you be ok to raise more events from
Runner
? Happy to send a PR if you are not opposed to the idea.The text was updated successfully, but these errors were encountered: