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

implement authentication related tests #61

Closed
latour-gui opened this issue Mar 2, 2020 · 2 comments
Closed

implement authentication related tests #61

latour-gui opened this issue Mar 2, 2020 · 2 comments
Assignees
Labels

Comments

@latour-gui
Copy link
Collaborator

No description provided.

@latour-gui latour-gui changed the title implement authentication related test implement authentication related tests Mar 2, 2020
@latour-gui latour-gui self-assigned this Mar 2, 2020
@latour-gui
Copy link
Collaborator Author

I am struggling with the cfg(test) attribute.

What I thought to be the solution cannot be used with integration tests : rust-lang/rust#45599

So back to start where I have to find a solution for taking a different database when executing cargo test and cargo run

@latour-gui
Copy link
Collaborator Author

latour-gui commented Mar 23, 2020

  • test register without address
  • test register with address ok
  • test register with addresse not ok
  • test register existing email
  • test double register same address
  • test activation good code good id
  • test activation wrong code good id
  • test activation good code wrong id
  • test activation wrong code wrong id
  • test double activation
  • test login inactive account good logins
  • test login inactive account wrong logins
  • test login active account good logins
  • test login active account wrong logins

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

No branches or pull requests

2 participants