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

Update testing chapters - how to test with Identity #72

Open
klinge opened this issue Sep 25, 2018 · 0 comments
Open

Update testing chapters - how to test with Identity #72

klinge opened this issue Sep 25, 2018 · 0 comments

Comments

@klinge
Copy link

klinge commented Sep 25, 2018

I really enjoyed this book for learning some basics of aspnet core. Thanks!

Since I am a big fan of automated testing I wanted to see if I could build some extra unit tests for controllers and expand the integration tests with tests for logged in users. After reading several articles on this on the net I find that unit/integration testing with AspNetCore.Identity (mocking ApplicationUser in unit tests and somehow simulating a logged in user for integration tests) is really challenging.

If and when there is an update to the next major dotnet core version adding info on how to do this to the testing chapters would be very helpful!

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

No branches or pull requests

1 participant