Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Castle Windsor: How to test that all registered components are resolvable?

I would like to write a test that just ensures that all components registered to my WindsorContainer can indeed be resolved. Anyone have any ideas how I can do that?

like image 625
George Mauer Avatar asked Apr 08 '09 20:04

George Mauer


1 Answers

See these posts from Bil Simser:

  • http://weblogs.asp.net/bsimser/archive/2008/06/04/the-first-spec-you-should-write-when-using-castle.aspx
  • http://weblogs.asp.net/bsimser/archive/2008/06/27/testing-castle-windsor-mappings-part-deux.aspx
like image 182
Mauricio Scheffer Avatar answered Sep 28 '22 03:09

Mauricio Scheffer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!