An open API service indexing awesome lists of open source software.

https://github.com/nfibrokerage/bless

A mix task for running test suites
https://github.com/nfibrokerage/bless

library

Last synced: 6 months ago
JSON representation

A mix task for running test suites

Awesome Lists containing this project

README

        

# Bless

![Actions CI](https://github.com/NFIBrokerage/bless/workflows/Actions%20CI/badge.svg)

A mix task for running test suites

## Usage

Define the test suite for bless to run by making a list of tasks and
arguments in your `mix.exs` file. Add a `:bless_suite` key to the `project/0`
function like so:

```elixir
def project do
[
preferred_cli_env: [
bless: :test
],
..
bless_suite: [
compile: ["--warnings-as-errors", "--force"],
"chaps.html": ["--raise"],
format: ["--check-formatted"],
credo: [],
"deps.unlock": ["--check-unused"]
],
..
]
end
```

Then running `mix bless` will run each of those tasks.

## Installation

```elixir
def deps do
[
{:bless, "~> 1.0"}
]
end
```