Skip to content

sg: Add ability to overwrite argument to tests

Warren Gifford requested to merge mrn/sg-better-tests into main

Created by: mrnugget

This allows you to run sg test backend (without args) and it will use the defaultArgs as defined in the tests.backend object in sg.config.yaml. If you pass additional args those will get passed to the cmd instead: sg test backend ./internal/my-folder will then run the tests.backend.cmd with ./internal/my-folder as arg.

Merge request reports

Loading