Skip to content

Full integration test from route to controller #282

Description

@ivaylokenov

Example test:

MyRouting
    .Configuration()
    .ShouldMap(request => request
        .WithMethod(HttpMethod.Post)
        .WithLocation("/My/Action")
        .WithFormFields(new
        {
            Title = title,
            Content = content
        })
        .WithUser()
        .WithAntiForgeryToken())
    .To<MyController>(c => c.Action(new MyFormModel
    {
        Title = title,
        Content = content
    }))
    .Which()
    .WithData(data)
    .ShouldReturn()
    .View();
  • Feature & unit tests
  • Add the Pipeline package to the Core package
  • Add tests to the Music Store and Blog samples
  • Add pipeline section to the Readme
  • Add information about the Pipeline package in the texts
  • Add section to the tutorial

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions