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

Create a test file #1

Open
AlistairHerbert opened this issue Jun 10, 2022 · 0 comments
Open

Create a test file #1

AlistairHerbert opened this issue Jun 10, 2022 · 0 comments

Comments

@AlistairHerbert
Copy link
Contributor

"One idea I’ve had but not had time to attempt is to create a proper test file – one that would exercise all of the error checking queries at least once. The script itself could be the vehicle for creating the test file – after loading an existing file into the temp tables, delete all the rows, then insert into the temp tables replacement records, each one designed to trigger a particular validation error. At the end of this, you can run the export code segment to have a XML format test file, and you can test from it from now on without all that temp table manipulation. Probably need to set a day aside to write all the test cases though, perhaps one to revisit when the spec for the 2022-23 validation rolls round."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant