plugin-templates icon indicating copy to clipboard operation
plugin-templates copied to clipboard

Improve test coverage

Open nishantwrp opened this issue 8 months ago • 1 comments

The goal is test all the possible scenarios possible for a template, and test whatever can be tested. There are parts of the codebase that can't be tested because this is a plugin and can't exist without the joplin desktop application. But most parts can be tested by mocking the behaviour of Joplin APIs.

Current coverage status - https://coverage.joplin-templates.nishantwrp.com

Pull requests adding new tests or enhancing existing tests are greatly appreciated. Please feel free to post any queries here or get in touch with me directly.

nishantwrp avatar Nov 17 '23 13:11 nishantwrp