You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I see that ExCheck is pretty coupled to ExUnit. Is there any way to easily adapt it to work easily with Espec? I'm guessing I would have to make my own implementation of ExUnit.__using__? And my own Espec.Statement module? Anything else I'm missing?
The text was updated successfully, but these errors were encountered:
Not too familiar with espec but most likely you would have to create counterparts for the various macros ExCheck uses that generate ExUnit-related code.
In the most generic using statement (excheck.ex), you could provide an argument indicating which testing framework you want to use underneath (default ExUnit for backwards compatibility).
You could then use this argument to switch between which macro you want to use to generate code.
It's been some time since you logged this issue, but better late than never, right? :)
So I see that ExCheck is pretty coupled to ExUnit. Is there any way to easily adapt it to work easily with Espec? I'm guessing I would have to make my own implementation of
ExUnit.__using__
? And my ownEspec.Statement
module? Anything else I'm missing?The text was updated successfully, but these errors were encountered: