Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fluent Assertions extensions for ASP.NET Core MVC

License

NotificationsYou must be signed in to change notification settings

fluentassertions/fluentassertions.aspnetcore.mvc

Repository files navigation

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 theFluent 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 thesupported test frameworks. For example with NUnit:

[Test]publicvoidIndex_Action_Returns_View(){// Arrangevarcontroller=newHomeController();// Actvarresult=controller.Index();// Assertresult.Should().BeViewResult();}

Building

Simply clone this repo and build theFluentAssertions.AspNetCore.Mvc.sln solution.

About

Fluent Assertions extensions for ASP.NET Core MVC

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors12

Languages


[8]ページ先頭

©2009-2025 Movatter.jp