Compliance Test Suites
Before submitting an extension to the official novon-extensions repository on GitHub, it must pass the compliance test suite.
The CLI Tester
You can test your extension locally using the NodeJS runner located in the official repo at src/test/runner.js.
bash
node runner.js com.novon.mysource
This will mock the Novon http injection and verify:
fetchPopularreturns novels.- The URL is absolute.
- The cover image resolves.
fetchChapterListreturns chapters.- The parsed HTML for the first chapter matches our quality thresholds (e.g. no script tags, length > 100 chars).