Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve testing #184

Open
2 of 9 tasks
gwiedeman opened this issue May 23, 2022 · 0 comments
Open
2 of 9 tasks

Improve testing #184

gwiedeman opened this issue May 23, 2022 · 0 comments
Labels
Core This is part of the main process for creating mailbags

Comments

@gwiedeman
Copy link
Collaborator

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

  • Core
  • Input
  • Attachments
  • Derivatives conversion
  • Reporting/Exporting
  • GUI
  • Distribution

Expected contribution

  • 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.

@gwiedeman gwiedeman added the Core This is part of the main process for creating mailbags label May 23, 2022
@gwiedeman gwiedeman added this to the MVP milestone May 23, 2022
@gwiedeman gwiedeman removed this from the MVP milestone Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core This is part of the main process for creating mailbags
Projects
Development

No branches or pull requests

1 participant