BACON(1)

πŸ“¦ version 1.2.0, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– bacon(1) πŸ’–

okay bestie, listen β€” the manual name is bacon and this whole page is literally just about it. it's a small RSpec clone and it's gonna be your new fave, no cap. πŸ₯“βœ¨


🌸 NAME 🌸

bacon β€” a small RSpec clone. that's it, that's the vibe. tiny. iconic. does the thing. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bacon [options] [files | -a] [-- untouched arguments]

so you run bacon, you hand it some options, you give it files or you hit it with -a, and then anything after a bare -- is just... untouched arguments. passed straight through. left alone. not our business. πŸ™ˆ


✨ DESCRIPTION ✨

bestie this is the main character section. there's three little gangs of options and we're meeting all of them. 🫢

πŸ’œ Ruby options

these ones are the Ruby-level knobs. classic Ruby stuff, we love her.

  • -e, --eval LINE β€” evaluates a LINE of code. like, right there. on the spot. ⭐
  • -d, --debug β€” sets the debugging flags, which means $DEBUG gets flipped to true. detective mode activated πŸ”
  • -w, --warn β€” turns warnings on for your script. she's chatty now, and that's a feature.
  • -I, --include PATH β€” specifies $LOAD_PATH. and yes bestie, you can use this one more than once, stack 'em up. πŸ’…
  • -r, --require LIBRARY β€” requires the library before your script runs. pregame. πŸ₯€

πŸŽ€ bacon options

the actual bacon-flavored ones. this is where it gets good.

  • -s, --specdox β€” does AgileDox-like output. this is the default, so if you do nothing, you get this. slay. ✨
  • -q, --quiet β€” does Test::Unit-like non-verbose output. shhh. 🀫
  • -p, --tap β€” does TAP (Test Anything Protocol) output. protocol girlies rise 🧚
  • -k, --knock β€” does Knock output. knock knock πŸ‘‘
  • -o, --output FORMAT β€” does FORMAT output, where FORMAT is one of SpecDox/TestUnit/Tap. pick your fighter 🌈
  • -Q, --no-backtrace β€” don't print backtraces. we simply do not wish to see them. πŸ’€
  • -a, --automatic β€” gathers tests from ./test/ and includes ./lib/. auto-magic, you don't gotta lift a finger πŸͺ„
  • -n, --name NAME β€” runs tests matching the regexp NAME. filter by name, we love a targeted queen 🎯
  • -t, --testcase TESTCASE β€” runs tests in TestCases matching the regexp TESTCASE. same energy, testcase flavored πŸ“

🌈 Common options

the universally beloved ones.

  • -h, --help β€” shows this message. hi hello, here's the lore πŸ“œ
  • --version β€” shows the version. numbers, but make it cute πŸ”’

lowkey reminder bestie: everything after a bare -- stays untouched. we do not touch it. periodt. πŸ’–

and that's the whole page!! πŸŽ€ written by the bacon girlies, bacon 1.1.0, dated July 2011 β€” yeah she's vintage, she's an icon, she's still serving. πŸ₯“πŸ‘‘βœ¨ love u, go write some specs πŸ’œ

πŸ“¦ where this page comes from