How to mock authorize attribute for testing in asp.net core 3.1

It is often required to make integration test for your project. In many cases your controllers has Authorize attribute.

There are different strategies and ways make integration test, it all depends on project size and development stages. So in this … Read the rest

It is often required to make integration test for your project. In many cases your controllers has Authorize attribute.

There are different strategies and ways make integration test, it all depends on project size and development stages. So in this … Read the rest