- Notifications
You must be signed in to change notification settings - Fork8
Fluent Assertions extensions for Autofac
License
fluentassertions/fluentassertions.autofac
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains theFluent Assertions extensionsforAutofac. It is maintained by@mkoertgen.
- Seewww.fluentassertions.com for more information about the main library.
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.
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.
Clone and build using Rider, Code, Visual Studio, ... or the command line usingnuke.build.
About
Fluent Assertions extensions for Autofac
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.