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 tests setup #1

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Add tests setup #1

wants to merge 13 commits into from

Conversation

kwk
Copy link
Owner

@kwk kwk commented Nov 2, 2015

This PR adds ACL tests to the project by running the auth_server with a config file with static ACLs inside. Afterwards various curl requests are being made to the server to test the HTTP response codes from the auth_server. Currently the HTTP body of a response is not validated.

kwk and others added 5 commits October 30, 2015 17:24
The test.sh script builds the auth server and runs it with a
testconfig.yml configuration file that has some users and ACLs defined.
Then it fires requests against the started server to test if the
behavior (auth server HTTP response code) matches the expecation.

Currently the script is pretty verbose because it is still in
development. At least one test is not working as expected.
@kwk kwk added the enhancement label Nov 2, 2015
@kwk kwk self-assigned this Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant