What is testin-nutin?

testin-nutin is Nutin's built-in testing toolkit, a small hand-built test runner + jsdom environment + assertion library.

Nutin source code is tested exclusively with it and it is shipped in all Nutin applications. Nutin tests are an executable, always up-to-date source of documentation.

You can use it to test your app by enabling testinNutin.includeApp in nutin.config.js.

See How do I run tests? and How do I configure testin-nutin?.