Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fluent Assertions extensions for Autofac

License

NotificationsYou must be signed in to change notification settings

fluentassertions/fluentassertions.autofac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

190 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

NuGetNuGet

Quality Gate StatusMaintainability RatingCoverage

This repository contains theFluent Assertions extensionsforAutofac. It is maintained by@mkoertgen.

Why?

In general, the more you applyDependency Injection (DI) the easierbecomes unit testing andTest-driven Development (TDD).

This is because the complexity of constructing all dependencies is shifted to the socalledComposition Root, i.e. the place where you "wire up" andconfigure all your dependencies. Undoubtedly, the best way to do this is by usingsomeInversion of Control (IoC) container.

With an application growing in complexity, there is also growing need to organize and test the IoC configuration.

Quickstart

Usage

Install the NuGet packageFluentAssertions.Autofac and start writing tests for your Autofac configuration.

container.Should().Have().Registered<SuperCoolService>().AsSelf().As<ICoolService>().Singleton();

Find more examples in thedocumentation or thetests.

How to build

Clone and build using Rider, Code, Visual Studio, ... or the command line usingnuke.build.

Links

About

Fluent Assertions extensions for Autofac

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2026 Movatter.jp