Skip to content

happycodrz/flexi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flexi

A flexible Elixir Mix test runner. (>= Elixir 1.7)

Usage

Start your IEx console in test mode:

$ MIX_ENV=test iex -S mix

Now we can start running tests depending on our desires. First run with a fresh Erlang VM will run all tests to load the modules into memory, this happens implicitly.

Grep for file names:

iex> Flexi.filematch("")

Grep for test names:

iex> Flexi.namematch("")

Grep for test module names:

iex> Flexi.modulematch("")

Show current filters for ExUnit (convenience function):

iex> Flexi.config()

Requirements:

Installation

If available in Hex, the package can be installed by adding flexi to your list of dependencies in mix.exs:

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

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/flexi.

About

A flexible Elixir ExUnit test runner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages