COBERTURA-CHECK(1)

πŸ’– COBERTURA-CHECK(1) πŸ’–

okay so bestie, welcome to the General Commands Manual page for cobertura-check, and honestly? she's the vibe-check queen of your test suite. no cap. πŸŽ€


✨ NAME ✨

cobertura-check β€” show which classes do not have adequate test coverage πŸ•΅οΈβ™€οΈ


🌸 SYNOPSIS 🌸

cobertura-check [--branch 0..100]  [--datafile file]  [--line 0..100]
[--regex regex:branchrate:linerate]  [--packagebranch 0..100]
[--packageline 0..100]  [--totalbranch 0..100]  [--totalline 0..100]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole thing is: you run cobertura-check after your JUnit tests, and it shows you which classes do not have adequate test coverage. that's it. that's the gig. she is literally just here to tell you who's slacking. 😭✨


πŸ’… OPTIONS πŸ’…

lowkey the most important line first: if no parameters are specified, then all values will be set to 50%. yes bestie, she picks for you. 🫢

  • --branch 0..100 β€” specify the minimum acceptable branch coverage rate needed by each class. this should be an integer value between 0 and 100. default value is 0. 🌈
  • --datafile file β€” specify the name of the file containing metadata about your classes. default value: "./cobertura.ser". πŸ“
  • --line 0..100 β€” specify the minimum acceptable line coverage rate needed by each class. this should be an integer value between 0 and 100. default value is 0. ⭐
  • --regex regex:branchrate:linerate β€” for finer grained control, you can optionally specify minimum branch and line coverage rates for individual classes using any number of regular expressions. this is the main character option fr fr. πŸ‘‘
  • --packagebranch 0..100 β€” specify the minimum acceptable average branch coverage rate needed by each package. this should be an integer value between 0 and 100. default value is 0. πŸŽ€
  • --packageline 0..100 β€” specify the minimum acceptable average line coverage rate needed by each package. this should be an integer value between 0 and 100. default value is 0. 🌸
  • --totalbranch 0..100 β€” specify the minimum acceptable average branch coverage rate needed by the project as a whole. this should be an integer value between 0 and 100. default value is 0. πŸ”₯
  • --totalline 0..100 β€” specify the minimum acceptable average line coverage rate needed by the project as a whole. this should be an integer value between 0 and 100. default value is 0. πŸ’–
not me reminding you that every single one of these defaults is 0 unless you say otherwise β€” and if you pass nothing at all, everything jumps to 50%. the way that is genuinely so important. 😭

🌈 SEE ALSO 🌈

junit(1), cobertura-instrument(1), cobertura-report(1), cobertura-merge(1). the whole squad, together, as they should be. 🫢


πŸ’œ AUTHOR πŸ’œ

this manual page was written by Miguel Landaeta <miguel@miguel.cc> for the Debian system (but may be used by others). permission is granted to copy, distribute and/or modify this document under the terms of the terms of GNU General Public License, Version 2 or any later version published by the Free Software Foundation. (yes, "the terms of the terms of" β€” iconic typo, we keep her exactly as she is. πŸ’€)

on Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. 🧚


aaaand that's the whole page bestie!! πŸŽ‰ the footer just repeats COBERTURA-CHECK(1) at the bottom, and this one lives in the General Commands Manual β€” so go forth, run your tests, and make sure nobody's out here with inadequate test coverage. slay. πŸ’…βœ¨πŸ¦‹