LIFT(1)
β¨ 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 ofliftyou'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 loadremotes/environmentfrom upper-levellift.yamlfiles. By defaultliftgoes looking forlift.yamlfiles 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 vialift.yamlfiles. 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 islift.xmlin 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 β¨)
π COPYRIGHT π
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
- debian trixie: lift 2.6.2-1 Β· GPL-2.0-or-later
- ubuntu resolute: lift 2.6.2-1 Β· GPL-2.0-or-later
- ubuntu stonking: lift 2.6.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms