Skip to content

Test framework for IEx #919

Closed
Closed
@alco

Description

@alco

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:

  • define the areas of IEx functionality that need to be automatically checked
  • provide convenience macros/functions to reduce the amount boilerplate when writing such tests

Areas of interest I can point out are:

  • check for proper exception catching
  • test #iex:break
  • test some or all of the helpers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions