NITRATE(1)

πŸ“¦ version 1.9.0, in epel 10, epel 9, fedora 43, fedora 44

πŸ’… NITRATE(1) πŸ’…

okay so bestie, welcome to the nitrate page β€” it lives in the User Commands section of the manual, and it's about to be your new fave little toy. πŸŽ€


✨ NAME ✨

nitrate β€” the command line interpreter for the Nitrate Python API 🐍


🌸 SYNOPSIS 🌸

nitrate

that's it. that's the whole thing. iconic, honestly. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

python-nitrate hands you a high-level Python interface to the Nitrate test case management system. and like… the package ALSO ships a standalone script called nitrate that lets you mess around with that interface straight from the Python interpreter β€” it imports all the available objects for you and turns on readline support so your little typing fingers get nice line editing. ✨

so basically: set up your config first (more on that below, don't skip it πŸ’€), and then you can manipulate all the Nitrate objects from the command line. for example:

$ nitrate
>>> for case in TestRun(123):
...     print case

obsessed. look at her go. 🫢


πŸ’– CONFIGURATION πŸ’–

okay so before you can contact the Nitrate server, you gotta provide a minimal user config file. it goes in your home directory and it's called ~/.nitrate. no config, no vibes, no server. 😭

[nitrate]
url = https://nitrate.server/xmlrpc/

that's the bare minimum, bestie. put it there and you're slaying. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

  • python-nitrate
  • nitrate-notes

πŸ‘‘ AUTHOR πŸ‘‘

Petr Ε plΓ­chal < <psplicha@redhat.com> > β€” an absolute legend, fr fr. 🌟


and that's a wrap, babes! this page came out back in February 2012, and it's page NITRATE(1) from the User Commands manual. go forth and configure your ~/.nitrate, you've got this. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from