Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

colcon simply invokes the unit testing framework used by each package when colcon test is being called.

If that testing framework has command line options to select/deselect specific tests you can easily provide them through colcon. E.g. for pytest you can use colcon test --pytest-args ... and use any of the sophisticated options like:

  • markers with -k ( or
  • regular expression with -m (