Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 958 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 958 Bytes

ExUnitSummary

The library was created as an extension for ExUnit and adds test case output, just like Rspec does.

It's a very convenient life cycle for fixing and adding tests is obtained.

The developer just needs to select any entry from the results, copy it and paste it again into the console

See the example below

drawing

How to add a library to your project

def deps do
  [
    {:ex_unit_summary, "~> 0.1.0", only: [:dev, :test]}
  ]
end

How to setup

# test_helper.exs 

# Start ExUnitSummary application, with recommended config 
ExUnitSummary.start(:normal, %ExUnitSummary.Config{filter_results: :failed, print_delay: 100})

# Add ExUnitSummary.Formatter to list of ExUnit's formatters. 
ExUnit.configure(formatters: [ExUnit.CLIFormatter, ExUnitSummary.Formatter])

Contribution

Feel free to make a pull request. All contributions are appreciated!