-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Parsing is handled inside Poco::Timer callbacks. Several things should be provided to fully test this area:
- dummy XMLs (at least 3-4 to handle all testcases)
- ConnectionFacade mock that will deliver those dummy XMLs instead of downloaded ones
Tests should be a part of a new test suite (as those are rather module tests, not unit tests).
Testcases (minimal test suite):
- Adding all new jobs and checking if all of them are present after that operation
- Updating added jobs and checking if all jobs were updated correctly
- Removing jobs (XML doesn't contain job information that are stored inside a JobManager)
- Check handling of incorrect XMLs, empty XMLs etc (after all, user can type in any web address) -- probably will require correction
Reactions are currently unavailable