Skip to content

Releases: lookback/loltest

New reporter, global config, environment variables

17 Nov 21:29
Compare
Choose a tag to compare

🆕 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

Filter on test cases in a file

25 Sep 13:39
Compare
Choose a tag to compare
  • 🆕 Filter on test case names by passing a third argument to loltest:
    $ loltest my-file "something"
    Will only run test cases that match /something/ in the file that starts with my-file.
  • Exit on duplicate test names.

Visualise durations for each test case

12 Apr 13:18
Compare
Choose a tag to compare

🆕 New

  • Visualise durations for each test case.

Skärmavbild 2019-04-12 kl  15 16 28

🐛 Fixed

  • Correct durations for the full test suite.
  • Print results for individual test cases as they resolve, don't wait for the whole suite.