Feature Details

More than 500 fluent assertion methods

Configuration

  • Automatic & manual Startup class
  • Customizable testing environment
  • Per project test application
  • Asynchronous test execution
  • Easy to extend & override

Services

  • Built-in testable dependencies
  • Ready to use mocks
  • Automatic service resolver
  • Manual per test service provider
  • Service collection extensions

Controllers

  • Various controller builders
  • Automatic context setup
  • Fully customizable
  • Sync & async action calls
  • All action results

Action Results

  • All available API results
  • All available view results
  • Detailed result assertions
  • Custom action results
  • Convenient test abstractions

Models

  • Full or partial assertions
  • For all available results
  • Built-in validation checker
  • Automatic model binding
  • Automatic serialization

State

  • Per test state
  • Session storage
  • Cache provider
  • View bag & View data
  • Temp data

Attributes

  • Controller attributes
  • Action attributes
  • Anti forgery token support
  • Authorization support
  • All available filters

Routing

  • Conventional routing
  • Attribute routing
  • Various route value providers
  • Easy model binding
  • Customizable services

Database

  • Per test storage
  • Held in memory
  • Automatic replacement
  • Initial data entries
  • Assertion of saved data

HTTP

  • Requests & Responses
  • Body serialization
  • All status codes
  • Common & custom headers
  • Forms & cookies

Authentication

  • Unauthorized requests
  • Built-in test user
  • Customizable user data
  • Roles assertion
  • Claims assertion

View Components

  • Various component builders
  • Automatic context setup
  • Fully customizable
  • Sync & async invocations
  • All view component results