fluentassertions / fluentassertions/fluentassertions.aspnetcore.mvc

Better support for `ActionResult<T>`

Open
#35 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
52
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Continuation of #21

Instead of having to write
```cs
ActionResult result = await _controller.GetTestItemAsync(id);
result.Result.Should().BeNotFoundResult();
```

I'd like to write
```cs
ActionResult result = await _controller.GetTestItemAsync(id);
result.Should().BeNotFoundResult();
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.