Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add RedirectToAction assertions with lambda expression to specify controller action

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
testing

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.

Description

help wanted

Syntax would look like this:

var result = controller.Action(model);

result.Should().BeRedirectToActionResult<AnotherController>(x => x.AnotherMethod());
Dominant language
C#
Stars
36
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fluentassertions/fluentassertions.mvc

All issues in fluentassertions/fluentassertions.mvc

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.