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

Python tests: userservice #51

Closed
2 tasks done
murog opened this issue Mar 25, 2020 · 3 comments
Closed
2 tasks done

Python tests: userservice #51

murog opened this issue Mar 25, 2020 · 3 comments
Assignees
Labels
testing adds to unit, integration or e2e tests

Comments

@murog
Copy link
Contributor

murog commented Mar 25, 2020

Description

Add tests to userservice

Expected Behavior

  • Tests run in CI
  • Test cases
    • /version returns expected version with 200 OK
    • /ready returns 200 OK
    • can create user and return 201 and expected user
    • creating existing user returns 409
    • sql error results in 500 and error message
    • invalid user with missing fields returns 400
    • invalid user with mismatched password values results in 400
    • can log in with existing user
    • logging in with existing user and invalid password results in 404
@murog
Copy link
Contributor Author

murog commented Apr 24, 2020

removed frontend from needing tests since angular port is underway

@murog murog added the testing adds to unit, integration or e2e tests label Apr 30, 2020
@murog
Copy link
Contributor Author

murog commented May 12, 2020

re-scoped issue to just userservice to be consistent with java testing issues

@murog murog changed the title Add tests to Python services Python tests: userservice May 12, 2020
@murog
Copy link
Contributor Author

murog commented May 12, 2020

fixed in #128

@murog murog closed this as completed May 12, 2020
@murog murog mentioned this issue Jul 18, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing adds to unit, integration or e2e tests
Projects
None yet
Development

No branches or pull requests

3 participants