General UX testing strategies


Just wondering if there are strategies to unit test or integration test UX and UNO code. A framework to simulate and assert events would be nice.


The uno compiler contains a test-runner (uno test), and we provide a library called Uno.Test that does for doing unit-testing of Uno code. Since UX code is compiled to Uno and you can mix and match Uno and UX objects, you can also use this for testing UX code. This is what we’re doing internally.

However, do note that uno test does not currently support running on devices. So for platform specific code, additional manual testing is required at the moment. I’ve been working on fixing this issue, but I can’t give any promises about when this will be a part of the main-line product.