-
Notifications
You must be signed in to change notification settings - Fork 23
Unit testing
Julian Waller edited this page Nov 23, 2025
·
3 revisions
Unit testing of modules is not very common.
We find it quite hard to test most modules as to do so requires mocking the device connection and the companion side.
If you have any suggestions on mocks, tooling or examples we should provide to make this easier, we are open to suggestions!
Some modules which are known to have some unit tests:
Feel free to add yours here
Getting Started
- Home
- Module development 101
- Git crashcourse
- Upgrading a module built for Companion 2.x
- Companion module library versioning
- Releasing your module
Development
- File Structure
- manifest.json
- Logging
- Module debugging
- Module packaging
- Actions
- Feedbacks
- Presets
- Input Field Types
- Module configuration
- Upgrade scripts
- Variables
- HTTP Handler
Code quality
Advanced functionality