RZ_TEST(1)

πŸ“¦ version 0.9.1, in nixpkgs unstable

πŸ’… rz-test(1) β€” the rizin regression testsuite, but make it make sense

okay bestie so this is rz-test, from the General Commands Manual, and it's literally the rizin regression testsuite. yes. the thing that tells you if you broke stuff. iconic behavior honestly πŸŽ€


✨ SYNOPSIS ✨

rz-test [-qvVnL] [-j threads] [-test file/dir | @test-type]

🌸 DESCRIPTION 🌸

so this command is part of the Rizin project, right? and what it does is run all the rizin-regressions tests that match a specific word in the name. that's the whole vibe. πŸ¦‹

bestie. you need rizin to be available in $PATH. like. it's not optional. it's not a suggestion. it's giving prerequisite. πŸ’€

πŸ‘‘ OPTIONS πŸ‘‘

okay here's the whole lineup, no cap, every single one:

  • -h β€” shows the usage help message. a little "hi, here's how this works" moment 🫢
  • -v β€” shows version information. who are you, rz-test? ✨
  • -q β€” quiet mode. shhh. 🀫
  • -V β€” be verbose. the opposite of quiet. it's giving yapper energy πŸ’…
  • -i β€” interactive mode. you're in the driver's seat now πŸš—
  • -n β€” do nothing. like, don't run any test, just load/parse them. all vibes, no execution πŸ’€
  • -L β€” log mode. better printing for CI, logfiles, etc. the CI girlies eat this up πŸ”₯
  • -F dir β€” run fuzz tests (open and default analysis) on all files in the given dir 🧚
  • -j threads β€” how many threads to use for running tests concurrently. default is 8. yes, eight. parallel slay 🌈
  • -r rizin β€” set path to the rizin executable. default is rizin ⭐
  • -m rz-asm β€” set path to the rz-asm executable. default is rz-asm πŸ“
  • -f file β€” file to use for JSON tests. default is bins/elf/crackme0x00b πŸŽ€
  • -C dir β€” chdir before running rz-test. default follows executable symlink + test/new πŸ¦‹
  • -t seconds β€” timeout per test. default is 960 seconds. that's a lot of seconds bestie 😭
  • -o file β€” output test run information in JSON format to file πŸ’–
  • -e dir β€” exclude a particular directory while testing. this option can appear many times. stack 'em, queen πŸ‘‘
  • -s num β€” number of expected successful tests βœ…
  • -x num β€” number of expected failed tests. yes we count those too, we're not in denial πŸ’€

also, real quick, the supported test types are: @json @unit @fuzz @cmds 🎯


🧚 ENVIRONMENT 🧚

  • EDITOR β€” editor to use (eg: "vim"). pick your fighter ✨

πŸ’œ USAGE πŸ’œ

use the -n flag to dont run any test. just load them. honestly a mood.

$ rz-test -n
[rz-test] Loading tests...

see? loads them. doesn't run them. self-care 🌸


πŸ”₯ SEE ALSO πŸ”₯

rizin(1), rz-asm(1), rz-bin(1), rz-diff(1), rz-find(1), rz-hash(1) β€” the whole friend group, fr fr πŸ’…


πŸŽ€ AUTHORS πŸŽ€

  • pancake <pancake@nopcode.org>
  • byteninjaa0

and that's the page bestie!! this version is from Debian, dated January 24, 2024, and it's RZ_TEST(1) β€” go forth and run your regression tests responsibly πŸ’–βœ¨ periodt.

πŸ“¦ where this page comes from