I build a module in java that extract archives such as rar, zip and 7zip. I want to write unit tests for this module with all the cases :
- Archive with single file
- Archive with few files
- Archive with folders and files
- Large archives
I made test files for every case and add them to test-resources, now my project is really heavy (the size of the archive to test extracting of large archives is 1 GB).
My team works with git as the vcs, so I need upload all the test resources (1GB) to the git , If I want that all the tests will pass.
There is a better solution for this tests or I must upload all the test resources to the git and make my small module a giant one?
Aucun commentaire:
Enregistrer un commentaire