mailbagit
mailbagit copied to clipboard
Improve testing
The problem the component solves
Currently, mailbagit
only has reliable unit testing for the format parsers. It does this by reading a serialization of the sample data created by the model and comparing that to the built-in data format parsers. The dumpData.py
script can be used to create a new serialization,
While this seems robust for the format parsers there is currently no unit tests for other parts of mailbagit
, notably the controller, the helpers, or the derivatives.
Relevant part of mailbag spec?
N/A
Type of component
- [x] Core
- [ ] Input
- [ ] Attachments
- [ ] Derivatives conversion
- [ ] Reporting/Exporting
- [ ] GUI
- [ ] Distribution
Expected contribution
- [x] Pull Request
- [ ] Comment with proposed solution
Major challenges or things to keep in mind
Representative test data can be hard to come by but I have been accumulating some examples.