Skip to content

Writing ROS1 tests

Location of files

  • Test Launchfile
    • The launch file must be stored in a folder called launch inside of your package
  • Unittest node
    • The unittest node must be stored in a folder called src inside of your package

Naming Conventions For ROS1

  • Unittest node class
    • The unittest class name must begin with the word Test followed by a desired node name (ex: TestTaktTime)
  • Launchfile
    • Inside the launchfile the test-name is must be the name of the unittest class, without the word test and in lower case (ex: takttime)