LIFT(1)

πŸ“¦
version 2.6.2 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ LIFT(1) ✨

okay bestie, welcome to the lift manual page (that's the "1" β€” it means user commands, iykyk) πŸ’… Grab a snack, we're gonna run some tests together 🧚


🌸 NAME 🌸

lift β€” run a Lift test suite, bestie 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

lift [OPTION]... [TEST]...

✨ DESCRIPTION ✨

So like. The lift command runs all of a Lift test suite, or just parts of it β€” your call, main character πŸ’– By default, with no option at all, lift runs all the tests it discovers in the current directory and its sub-directories. Sneaky little explorer. It finds everything. Obsessed. πŸ”₯

And for the lore: Lift stands for Lift Integration-Functional Testing. Iconic acronym, no cap. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows you a help message and then dips out. exit. bye. πŸ‘‹
  • -V, --version β€” tells you which version of lift you've got. vibe check on your install ✨
  • -q, --quiet β€” does NOT print the output of tests as they run. Silent. Stealth mode. 🀫
  • -d, --detailed-summary β€” prints the output of the failed tests in the final summary. so you know exactly what went wrong 😭
  • -n, --no-color β€” turns off the colored output. Maybe useful, like, for example if colors are messing with your terminal πŸ’€
  • --regex β€” processes TEST strings as standard Python regex. There's more deets below, keep scrolling bestie πŸ‘‡
  • --no-upper-inheritance β€” does NOT load remotes/environment from upper-level lift.yaml files. By default lift goes looking for lift.yaml files in upper-level folders so it can find settings to inherit for the current test file. This option disables that whole behavior and treats the current test directory as a top-level one. Cutting the family off, respectfully. πŸ™ˆ
  • --put-remotes-in-environment β€” every defined remote gets passed to the tests as an environment variable, in this exact form: LIFT_REMOTE_remotename=login:password@host. Note that the password (and its ":" separator) won't be there at all if it wasn't defined in the first place. SECURITY WARNING: do NOT use this option if some of your binary tests can't be trusted to keep those credentials to themselves. Like, fr fr, this one is serious. πŸ”’
bestie. the credentials one. be careful. that's it, that's the note. πŸ’œ
  • -f FOLDER, --folder FOLDER β€” specify the root folder that tests will be looked for in. Defaults to the current working directory. πŸ“
  • -r REMOTE, --remote REMOTE β€” define a remote. The value should be in the form: REMOTENAME=USERNAME:PASSWORD@HOST. Note that the PASSWORD field (along with the ":" separator) is optional if SSH keys are properly set up β€” queen behavior, honestly πŸ”‘ You can use this option multiple times to define multiple remotes. And remotes defined via this option supersede those defined via lift.yaml files. this one wins, periodt. πŸ‘‘
  • --with-xunit β€” gives you the test results in the standard XUnit XML format πŸ“„
  • --xunit-file XUNIT_FILE β€” specifies the path of the XML file where the XUnit report gets stored. The default is lift.xml in the current working directory. πŸ—‚οΈ

🌈 RUN SPECIFIC TESTS 🌈

You can pick specific tests to run right there on the command line, no big deal πŸ’… Just use the test string format that shows up in the normal lift output, like:

"FOLDER/TEST_NAME"

If you set the --regex option, expressions get matched as standard Python regex. For example, .*foo will match all tests containing the word "foo". cute right πŸ“

Head to <http://docs.python.org/library/re.html> for more info on the Python regex syntax, if you wanna go full nerd mode (we love that here) πŸ“šβœ¨


πŸ’œ SEE ALSO πŸ’œ

For the test suite definition, see lift.yaml (1) πŸ¦‹


⭐ AUTHOR ⭐

Written an maintained by Nicolas Delvaux <contact@nicolas-delvaux.org> 🫢 (yes, "an" β€” that's how it's written, and we respect the original ✨)


GPL2+ πŸ“œ


and that's the whole page bestie!! mwah πŸ’– this was the Lift Manual, version 2.5.0 β€” go run some tests and slay πŸ’…πŸŒΈβœ¨

πŸ“¦ where this page comes from