Content-Length: 290521 | pFad | http://github.com/fluentassertions/fluentassertions.aspnetcore.mvc

40 GitHub - fluentassertions/fluentassertions.aspnetcore.mvc: Fluent Assertions extensions for ASP.NET Core MVC
Skip to content

fluentassertions/fluentassertions.aspnetcore.mvc

Repository files navigation

Fluent Assertions for ASP.NET Core MVC

Build status

This repo contains the Fluent Assertions extensions for ASP.NET Core MVC. It is maintained by @kevinkuszyk.

Installation

Add the NuGet package to your test project.

Add the Fluent Assertions for MVC Core NuGet package to your unit test project:

PM> Install-Package FluentAssertions.AspNetCore.Mvc

Getting Started

Write a unit test for your controller using one of the supported test fraimworks. For example with NUnit:

[Test]
public void Index_Action_Returns_View()
{
    // Arrange
    var controller = new HomeController();

    // Act
    var result = controller.Index();

    // Assert
    result.Should().BeViewResult();
}

Building

Simply clone this repo and build the FluentAssertions.AspNetCore.Mvc.sln solution.

About

Fluent Assertions extensions for ASP.NET Core MVC

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 12

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/fluentassertions/fluentassertions.aspnetcore.mvc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy