https://github.com/ananthakumaran/ex_unit_span
An ExUnit formatter to visualize test execution and find bottlenecks in your test suite.
https://github.com/ananthakumaran/ex_unit_span
elixir exunit
Last synced: 10 months ago
JSON representation
An ExUnit formatter to visualize test execution and find bottlenecks in your test suite.
- Host: GitHub
- URL: https://github.com/ananthakumaran/ex_unit_span
- Owner: ananthakumaran
- License: mit
- Created: 2022-01-08T19:04:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-10T04:25:26.000Z (about 4 years ago)
- Last Synced: 2024-03-14T19:54:19.883Z (almost 2 years ago)
- Topics: elixir, exunit
- Language: Elixir
- Homepage:
- Size: 96.7 KB
- Stars: 29
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ExUnitSpan
[](https://github.com/ananthakumaran/ex_unit_span/actions/workflows/ci.yml)
[](https://hex.pm/packages/ex_unit_span)
An ExUnit formatter to visualize test execution and find bottlenecks in your test suite.

## Installation
```elixir
def deps do
[
{:ex_unit_span, "~> 0.1.0", only: :test}
]
end
```
## Usage
```bash
mix test --formatter ExUnitSpan
```
This should generate `ex_unit_span.json` file in the current
folder. Open `chrome://tracing` in chrome browser and drop the json
file.