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

Remove MongoDB testing dependency #134

Open
josebolos opened this issue Nov 25, 2021 · 0 comments
Open

Remove MongoDB testing dependency #134

josebolos opened this issue Nov 25, 2021 · 0 comments

Comments

@josebolos
Copy link
Member

The current testing suite for pa11y-webservice requires mongodb to be available and properly set up for the tests to run.

This is usually not much of a problem when running on a CI environment as we've already done the hard work to configure all that, but it makes it much harder to make changes to the project and test things locally. It rises the barrier for contributing to the project.

There's also the risk that, if you use a production DB to run the tests (in order to avoid setting up one local mongoDB instance) all the data will be wiped in the process. This is hostile to the user and fairly unforgiving.

I think that we should rework the tests so they don't depend on a MongoDB instance to be up.

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

No branches or pull requests

2 participants