Rebar3_lux - a rebar3 plugin to run Lux tests

Here is a first attempt of a rebar3 plugin to run Lux tests:

A rebar3 plugin for running Lux tests as part of your Erlang/OTP build process.

Overview

This plugin integrates Lux test execution with rebar3, allowing you to run command-line interface tests directly from your rebar3 workflow.

Features

  • Smart binary resolution: Automatically uses the Lux binary from plugin dependencies (_build/default/plugins/lux/bin/lux)
  • PATH fallback: Falls back to system-installed lux if dependency binary is not found
  • Selective test execution: Run individual test modules or entire test suites
  • Verbose output support: Enable detailed Lux output for debugging
  • Automatic file extension handling: Works with both foo and foo.lux module names

Example:
rebar3 lux
rebar3 lux –module foo

Cheers, T.

3 Likes