Tests module - AdrianC2000/InvoiceScannerApp GitHub Wiki
Tests module consists of 3 types of tests:
- Unit tests, which simply check each class behavior
- Integration tests, which check how the application works with the Google OCR client
- E2E tests, which check if the output is correct for the set of prepared invoices
In the tests/invoice_parsing_end_to_end_tests/invoices_output_set
catalog files with the name <file_name_X>.json
should be placed - this stands for the expected output for invoice named <file_name_X>.png
placed in the tests/invoice_parsing_end_to_end_tests/invoices_testing_set
.
Note: Remember to run tests from the main directory (InvoiceScannerApp/)