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

Add testing #249

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft

Add testing #249

wants to merge 15 commits into from

Conversation

gaurav
Copy link
Member

@gaurav gaurav commented Jun 15, 2022

This draft PR has started looking into using Vue's testing library to write some automated tests for Klados. This should help me write unit tests for some bugs that might reoccur in the future.

I had hoped to write an integration test that ran through the entire load-demo-file -> check outputs -> run reasoning -> check results process, but I'm running into some hard-to-diagnose error in trying to load the entire App. However, I can write tests for individual components. So I'll finish this PR with a test for a single component and call it good, and then try to work up to integration tests later.

WIP Will add a few more tests, and see if I can get them to run on Github Actions.

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.

1 participant