GST-SUNIT(1)

πŸ“¦
version 3.2.5 Β· 2 versions
, in ubuntu jammy

✨ gst-sunit ✨

okay so bestie, welcome to gst-sunit, the unit testing tool for GNU Smalltalk πŸ’– it lives in the User Commands section of the manual (section 1, iykyk) and it's literally here to run your tests so you don't have to sit there clicking through everything like it's 2009. we stan a testing icon πŸ‘‘


πŸ¦‹ NAME πŸ¦‹

gst-sunit β€” unit testing tool for GNU Smalltalk

like. that's the whole vibe. it tests your units. it's giving quality assurance queen πŸ’…


🌸 DESCRIPTION 🌸

πŸ’œ Usage πŸ’œ

here's the sacred incantation, no cap:

gst-sunit [ flag ... ] class.tests ...

so you hit it with whatever flags you want, then you feed it your class.tests and it does its thing ✨


πŸŽ€ OPTIONS πŸŽ€

every single flag, all of them, no skipping, we don't do that here 🫢

  • -q, --quiet β€” hide the output 🀫 shhh. it's giving stealth mode. nothing to see here, just vibes.
  • -v, --verbose β€” show passed tests πŸ‘€ so not just the fails β€” the wins too. main character energy for every single test that slays.
  • -f, --file=FILE β€” load FILE before running subsequent tests πŸ“‚ like, prep work. load it up first, then the tests that come after get to benefit. order matters bestie.
  • -p, --package=PACKAGE β€” load PACKAGE and run its tests πŸ“¦ not just loading it β€” running its tests too. two-for-one, we love efficiency.
  • -I, --image-file=FILE β€” run tests on the specified image file πŸ–ΌοΈ yes, the image file. that's the one. that's the file the tests run on.
  • --kernel-dir=PATH β€” use the specified kernel directory 🌈 point it at the PATH where the kernel dir lives. that's the one you're using now.
  • -h, --help β€” show this message and exit πŸ™‹β€β™€οΈ the classic. it shows you the message, then it dips. iconic behaviour honestly.
  • --version β€” print version information and exit πŸ“œ prints the version, then exits. bye ✌️
lowkey important: -f says "subsequent tests", so it's not retroactive, bestie. the file loads and then whatever tests come after it get that context. read the fine print, it's fine print for a reason πŸ’€

🧚 SEE ALSO 🧚

the full documentation for gst-sunit is maintained as a Texinfo manual πŸ“– so if the info and gst-sunit programs are properly installed at your site, this command:

info gst

should give you access to the complete manual 🌟 like, the whole thing. the full lore. go read it, it's free and it's right there.


gst-sunit version 3.2.5 🌸 September 2021 β€” that's the version and the date, mwah, sending you off with a kiss and a working test suite πŸ’‹ go forth and test, bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from