mix k6 (k6 v0.2.1)

Runs k6 commands

The command runs using the binary installed locally in the _build folder of the project. If k6 is not installed for the local project, it will automatically install it before running the command.

k6 is executed in the folder where k6 tests reside, which defaults to priv/k6.

Examples

$ mix k6 run my_test.js
$ mix k6 run --vus 10 --duration 30s my_test.js

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.