CSB-TEST(1)

πŸ’… NAME πŸ’…

csb-test β€” the CSB Test Runner Console, aka your new bestie for running tests ✨


🌸 DESCRIPTION 🌸

okay so real talk, here's how you summon her:

usage: csb-test [-h] [-t {unit,functional,custom,any,regression}]
              [-v VERBOSITY] [-u] [-g GENERATED_RESOURCES] [namespaces
              [namespaces ...]]

CSB Test Runner Console. that's the whole vibe. she runs your tests, she's iconic, periodt 🫢


πŸŽ€ positional arguments: πŸŽ€

  • namespaces β€” a lil optional list of CSB test dotted namespaces, and that's where she loads tests from, bestie. '__main__' and '.' get read as the current module (iykyk). and if a namespace ends with an asterisk '.*', then all the sub-packages get scanned too, no cap πŸ‘‘

examples, because examples are everything:

"csb.test.cases.bio.*"  "csb.test.cases.bio.io"
"csb.test.cases.bio.utils" ".")

✨ optional arguments: ✨

  • -h, --help β€” shows this help message and dips. classic. πŸ’–
  • -t {unit,functional,custom,any,regression}, --type {unit,functional,custom,any,regression} β€” the type of tests to load from each namespace. default is any, so she's not picky 🌈
  • -v VERBOSITY, --verbosity VERBOSITY β€” verbosity level, passed straight to unittest.TextTestRunner. default is 1. crank it up if you want her to yap more πŸ—£οΈ
  • -u, --update-files β€” force an update of the test pickles in /usr/lib/python3/dist-packages/csb/test/data. she said "I'm updating, don't perceive me" πŸ™ˆ
  • -g GENERATED_RESOURCES, --generated-resources GENERATED_RESOURCES β€” generate, store and load extra test resources in this directory. default is /usr/lib/python3/distpackages/csb/test/data πŸ“

πŸ‘‘ AUTHOR πŸ‘‘

this manpage was written by Andreas Tille for the Debian distribution, and it can be used for any other usage of the program. slay, honestly πŸ’œ


and that's the whole page, bestie β€” csb-test version 1.2.5, dated November 2017, and it ate, fr fr. go run some tests, you got this πŸ’…βœ¨

πŸ“¦ where this page comes from