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

Added unit test runner and simple test harness for Cardinal Care enco… #42

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

labhinav
Copy link
Collaborator

…ding

  • Created test_running.js for the function "run_unit_test", which runs a single query test on a dataset and ruleset. Documentation and example found in the file and in test_harness_cardinal_care.js.
  • Created "test_harness_cardinal_care.js", a simple test harness for running unit tests of the Cardinal Care encoding. Computes and prints the number of succeeding tests, and prints the names of the tests that failed.
  • Import these files into cardinal_care.html to run the tests on page load and print the results to console.

…ding

- Created test_running.js for the function "run_unit_test", which runs a single query test on a dataset and ruleset. Documentation and example found in the file and in test_harness_cardinal_care.js.
- Created "test_harness_cardinal_care.js", a simple test harness for running unit tests of the Cardinal Care encoding. Computes and prints the number of succeeding tests, and prints the names of the tests that failed.
- Import these files into cardinal_care.html to run the tests on page load and print the results to console.
@labhinav labhinav merged commit 303ae6f into unstable Apr 26, 2024
3 of 4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants