GTESTER(1)
β¨ gtester β test running utility β¨
okay bestie, welcome to the manual page for gtester, a lil utility from the manual pages (section 1, iykyk) π
she's your ride-or-die for running unit tests, and she's got main character energy.
πΈ SYNOPSIS πΈ
gtester [OPTIONβ¦] test-program
π¦ DESCRIPTION π¦
okay so. gtester is a utility to run unit tests that have been written using the GLib test framework. that's the whole vibe. she runs your tests, she tells you what happened. iconic.
π¨ real talk though, bestie: since GLib 2.62, gtester-report is deprecated. the glow-up is to use TAP for reporting test results instead, and feed it to the test harness provided by your build system. no cap.
when you call her with the -o option, gtester writes an XML report of the test results, which can be converted into HTML using the gtester-report utility. cute little pipeline, fr fr π
π OPTIONS π
-h,--helpβ print help and exit. she's helping! π«Ά-v,--verboseβ print version information and exit. (yes bestie, this is the first--verbose, the one that's like "who am i, what version am i" β don't get it twisted, there's another one below π)--g-fatal-warningsβ make warnings fatal. dramatic but valid π-k,--keep-goingβ continue running after tests failed. she does not give up, she is a resilient queen π-lβ list paths of available test cases. window shopping β¨-m=<MODE>β run test cases in MODE, which can be one of:perfβ run performance tests. zoom zoom π₯slow,thoroughβ run slow tests, or repeat non-deterministic tests more often. thorough queen behaviour, honestlyquickβ do not run slow or performance tests, or do extra repeats of non-deterministic tests (default). she's busy, she's got places to beundefinedβ run test cases that deliberately provoke checks or assertion failures, if implemented (default). yes, breaking things on purpose, and yes, it's the default πno-undefinedβ do not run test cases that deliberately provoke checks or assertion failures. the "no chaos today" setting π§
-p=<TEST-PATH>β only run test cases matching TEST-PATH. cherry-picking, but make it productive π-s=<TEST-PATH>β skip test cases matching TEST-PATH. not today, thanks π--seed=<SEED-STRING>β run all test cases with random number seed SEED-STRING. deterministic randomness, we love to see it π-o=<LOG-FILE>β write the test log to LOG-FILE. receipts! β-q,--quietβ suppress per-test-binary output. shhh, library mode π€«--verboseβ report success per testcase. (yep, second--verbose, this one's the chatty one, she's telling you about every single win π)
π SEE ALSO π
gtester-report(1)<man:gtester-report(1)>
okay that's the whole page, bestie!! you're basically a test-running expert now, no cap. go forth and gtester responsibly π
this has been the gtester manual page (section 1) β that's the source/version and the date vibes all rolled into this lil sign-off, since the footer was just gtester() staring back at us. periodt. β¨
π¦ where this page comes from
- arch rolling: glib2-devel 2.90.1-1 Β· LGPL-2.1-or-later
- ubuntu stonking: libgio-2.0-dev-bin 2.90.0-1 Β· LGPL-2.1-or-later
- π the page's license: LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms