Skip to content

Unit and Integration Testing in SMACC2 #550

@NithishkumarS

Description

@NithishkumarS

I have been exploring the SMACC2 framework and am looking for some guidance on the best practices for testing, specifically regarding unit testing and functional testing. I have a few questions:

Unit Testing:

1.How should unit tests be structured in SMACC2, especially when there are dependencies on orthogonals, clients, or other components?
2. Are there any recommended approaches or tools for mocking these dependencies to isolate the unit under test?

Integration Testing:

  1. What is the recommended way to conduct functional tests that involve multiple orthogonals, clients, and their interactions?
  2. How can transitions between states be tested effectively in a functional test? Are there specific frameworks or tools that are particularly useful for this purpose in the context of SMACC2?

Any examples, documentation, or tips you can provide would be greatly appreciated. Thank you for your support.

Environment (please complete the following information):

ROS DETAILS

  • OS: Ubuntu 22.04 LTS
  • Version Humble

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions