IdentityServer4.Contrib.AspNetCore.Testing
IdentityServer4.Contrib.AspNetCore.Testing copied to clipboard
[Question] Integration with WebApplicationFactory
Most people testing are using WAF. I would love to see docs or samples on how you configure this there.
For which server do you want to use the WebApplicationFactory?
For the APIs or for the Identity-Server itself? It's kind of relying on lower level functionality but it might be possible to change that, since the WebApplicationFactory is also just creating a TestServer.
I would like to use WebApplicationFactory for IdentityServer. Could you please provide some examples for it? I am kind of lost...
Which part do you want to do with the Factory? The WebApi or the Identity-Server instance?
IdentityServer instance that would issue tokens which would be valid for the webApi and integration tests I write for it.