fluentassertions / fluentassertions/fluentassertions.mvc
Add RedirectToAction assertions with lambda expression to specify controller action
Open
help wanted
- Dominant language
- C#
- Stars
- 36
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Syntax would look like this:
``` C#
var result = controller.Action(model);
result.Should().BeRedirectToActionResult(x => x.AnotherMethod());
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the existing BeRedirectToActionResult assertions and compare their current action-selection API with the lambda syntax shown in the issue. Done means the generic assertion accepts a lambda such as x => x.AnotherMethod() and has coverage for that usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100