-
Notifications
You must be signed in to change notification settings - Fork 13
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
Not all EUnit states are managed in ltest listener #49
Comments
Note that there are some breaking changes between 17.x and 18.x. |
Could you rewrite it so that |
@rvirding Do you have some code I can look at? (I didn't see anything like this in Maybe there's a different way to do this? |
@oubiwann do you mean to compare with eunit_tty.erl ? That is the file that implements the behaviour. Maybe this is what made rvirding think you could just reuse |
@oubiwann the new After a quick peek at Do they implement the behaviour or are they the call back modules? |
Sadly, EUnit states are undocumented. The source code has to be examined when attempting to create a 100% EUnit compatible test listener.
The following files need to be compared carefully:
With the latter getting updates for the missing (or commented-out) bits. Note that this set of missing functionality dates from the earlier days of ltest (formerly lunit, formerly lfeunit).
Tasks:
start/2
(not really state management, but we can hit this while we're bringing the rest ofltest_listener
into accord witheunit_listener
)handle_begin
add another clause like for theundefined
description, but for an empty stringhandle_end
add another clause like for theundefined
description, but for an empty stringThe text was updated successfully, but these errors were encountered: