Unit Testing Homey Apps

Hi!

I’m looking for advice on the best tools and practices for unit testing Homey apps, particularly the Device.ts and Driver.ts files. Does anyone have recommendations for libraries or methods that work well for testing these components? Also, how do you handle mocking Homey-specific objects and methods?

Thanks!

2 Likes

I use the jest framework to unit-test my homeyscripts, and I’m currently looking to adapt it for my homey app.