conda-incubator / conda-auth

Conda plugin for various conda auth handlers
https://conda-incubator.github.io/conda-auth/
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Setup integration testing infrastructure: HTTP basic authentication #4

Open travishathaway opened 1 year ago

travishathaway commented 1 year ago

What is the idea?

We need to be able to run integration testing in our test suite for the authentication schemes we want to support.

Why is this needed?

In order to properly test these authentication schemes, it makes sense to have an integration testing system in place (or at least a strategy for how we intend to do this type of testing).

What should happen?

Additional Context

To accomplish this, we will most likely take advantage of GitHub Action's "service containers". More information about those can be found here:

https://docs.github.com/en/actions/using-containerized-services/about-service-containers

travishathaway commented 1 year ago

This is one testing scenario that I believe needs to be covered in this repository:

travishathaway commented 1 year ago

This is the test repodata server that is currently used by the mamba project:

It could be helpful for setting up integration testing for this project.

travishathaway commented 1 year ago

This could be a nice resource to use once we are ready to test anything related to OAuth2/OpenID: