Skip to content

New reporter, global config, environment variables

Latest
Compare
Choose a tag to compare
@brookback brookback released this 17 Nov 21:29

🆕 Features

  • Deprecate --reporter CLI arg and support environment variables for config instead. Ex: run another reporter with:
    LOLTEST_REPORTER=tap loltest
    Prefix config values with LOLTEST_ and make them uppercase with underscores as separators. testDir thus becomes LOLTEST_TEST_DIR.
  • Add new loltest2 reporter 💅
  • Support global .json config file at $HOME/.loltest:
    {"reporter": "loltest2"}
    reporter and testDir are the currently supported config keys.

loltest2 reporter output

Skärmavbild 2019-11-17 kl  22 27 49