BACON(1)
π 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$DEBUGgets flipped totrue. 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
- debian bookworm: ruby-bacon 1.2.0-6.1 Β· MIT
- ubuntu jammy: ruby-bacon 1.2.0-6.1 Β· MIT
- ubuntu noble: ruby-bacon 1.2.0-6.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms