I talked several times about my vision of testing ASP.NET Core applications on this blog. The story has began here: A Different Approach To Test Your ASP.NET Core Application. At the same time, I was compiling a set
Discover 6 stories with “aspnetcore” Tag.
I started a series a few weeks ago about testing ASP.NET Core applications using a different approach: the Behavior Approach. I am very convinced of this method and very excited about presenting you its different facets. To get more
User identity is a collection of security information associated to an authenticated user. It is used to implement authorization mechanisms with the aim of protecting application resources from unauthorized accesses. In ASP.NET Core, user identity and the related authorizations
Have you ever try to call directly your ASP.NET MVC Post actions from your code (from a test method for instance)? If yes, according to your action configuration, you may had to deal with a Bad Request http status.
Last time, we saw how to implement behavior testing in ASP.NET Core with a scenario approach. Thanks to this, we can now cover the code of a complete business scenario with a single test ! Easy as pie :) The demonstration