be2dd52cd2
Co-authored-by: Claude <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Testing Website Tutorial
A comprehensive guide to testing your LNReader plugins using the web interface.
Getting Started
-
Start the development server:
npm run dev:start -
Open your browser: Navigate to localhost:3000
-
Select a plugin: Use the dropdown in the top navigation bar to select the plugin you want to test.
Features Overview
The testing website provides five main sections to test different plugin functions:
- Headers - Configure custom HTTP headers
- Popular Novels - Test
popularNovels()with pagination and filters - Search Novels - Test
searchNovels()with search queries - Parse Novel - Test
parseNovel()with a novel path - Parse Chapter - Test
parseChapter()with a chapter path
Pre-Submission Testing
Before submitting your plugin, verify that:
- All five sections work without errors
- Multiple pages load correctly
- Search returns accurate results
- Novel parsing extracts all metadata
- Chapter content is clean
- Filters work (if implemented)
- No console errors appear
- Paths are properly formatted
- Images load correctly
Need Help?
- Plugin Development: See docs.md for API reference
- Quick Start: See quickstart.md for plugin creation
- Pre-PR Check: See testing.md for the required
npm run check:pluginlive check - Issues: Create a GitHub issue
- Community: Join us on Discord