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

End to end tests #32

Merged
merged 2 commits into from
Dec 12, 2021
Merged

End to end tests #32

merged 2 commits into from
Dec 12, 2021

Conversation

jmg1138
Copy link
Member

@jmg1138 jmg1138 commented Dec 12, 2021

No description provided.

…tions result of the most recent build/test workflow. Added the codecov uploader executable to the .gitignore file.
…sessions endpoint to create a session token. I modified the Vagrant setup script, so that dbowner has permission to create additional databases. I wrote a helper class in the e2e tests directory that connects to the development postgres installation and creates a new database named keepytest used just for the e2e tests. It has a Recycle() method that drops any existing previous test database, creates a fresh new one based on the keepydb database so that it has all of the tables, functions, etc, and then seeds data into the test database for the e2e tests to use. For now, it only seeds the initial admin user, which the first test uses to login and get a session token. Each e2e test can call that Recycle() method so that every test has a fresh testing database with freshly seeded data to test against.
@jmg1138 jmg1138 self-assigned this Dec 12, 2021
@jmg1138 jmg1138 added the enhancement New feature or request label Dec 12, 2021
@jmg1138 jmg1138 merged commit 238da5f into main Dec 12, 2021
@jmg1138 jmg1138 deleted the end-to-end-tests branch December 12, 2021 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant