circuit-maintenance-parser icon indicating copy to clipboard operation
circuit-maintenance-parser copied to clipboard

Automated unit test cases from test data

Open chadell opened this issue 4 years ago • 1 comments

Environment

  • circuit_maintenance_parser version: 2.0.8

Proposed Functionality

Automated Parser/End-to-end test discoverability, so the test cases could be automatically discovered following some pattern

Use Case

Simplify development time, by dynamically fetching test cases, so no need to manually explicit them,

chadell avatar Dec 15 '21 16:12 chadell

@scetron what do you think about this:

  1. We know all the Providers that are exposed
  2. In the parametrized tests, instead of defining the pairing of test/result, we could use a folder structure
  3. Each Provider should have a folder, with a test input and result, matching some convention

This would get rid of manually adding the tests, and more important, it will catch any Provider missing tests, automatically.

Obviously, for some Providers that share input data, we would create symlinks

chadell avatar Aug 27 '22 07:08 chadell