-
Notifications
You must be signed in to change notification settings - Fork 3.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
Test framework for IEx #919
Comments
I'd rather replace the group leader to do this |
We can replace the group leader or have something like meck (for mocking IO calls). I think a mechanism for replacing the group leader will be needed in exunit sooner than later though. |
One option is to read the IO module used from |
This is partially implemented by #1059. Once we have the ability to mock use input, we can either close this one, or provide a helper
|
@mururu How is the work on updated |
@alco I am woking on it now, but it is more difficult than I thought. Please wait for a few days. |
See updated issue description. Areas of interest I can point out are:
|
Also
|
Closed in favor of #1137. |
Since most helpers are IO based, we can test it with a bash script.
Or set up a mock IO module that would send output to another process where we can check it against reference?
Update
I've renamed this to "Test framework for IEx". We can now write tests for some of the parts of IEx that haven't been automatically checked for regressions previously.
The purpose of this issue is:
Areas of interest I can point out are:
#iex:break
The text was updated successfully, but these errors were encountered: