Skip to content

balance-platform/ex_unit_summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

"Extension" for ExUnit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages