You are reading the documentation for an outdated Corteza release. 2023.9 is the latest stable Corteza release.

Testing

DevNote: provide some complex examples using Sinon and promises.

Extensions are essentially Node.js projects with additional bits, meaning that the extensions can be tested in the same way as node.js projects.

You are free to use any testing framework and any testing methodology.

We usually use Chai, Mocha, Nyc, and Sinon.

DevNote provide some more examples for other frameworks?