Skip to main content

Test your Skill

This guide explains how to test your skills. Testing is important because it:

  • Identifies bugs early in the development process
  • Improves the quality of your skills
  • Reduces the risk of unexpected behavior in production
  • Makes it easier to change your skills in the future

There are two categories of skill testing: Unit testing and Integration testing.

To learn more about continous integration setups around testing please refer to the guide on CI.

Skill Unit Testing

Unit tests verify the behavior of individual functions of a skill in isolation. These tests often use fake versions of a skill's dependencies, such as a fake world or a fake motion planner. Use unit tests to catch differences between how you designed your skill and what it actually does. Read the Skill Unit Testing guide to learn how to create unit tests.

Skill Integration Testing

Integration tests check that your skill works with other skills and services in a solution. These tests use real versions of the skill's dependencies, but they require more effort to create and take longer to run. Use integration tests to check that your skill works in a solution. Read the Skill Integration Testing guide to learn how to create integration tests.