Unit testing the resolver was: Optional service dependencies only
Jaroslav Tulach
jaroslav.tulach at oracle.com
Sat Jun 23 05:00:11 PDT 2012
Dne Pá 22. června 2012 19:39:27, Paul Sandoz napsal(a):
> Hi,
> > If you want to get rid of the NP-Complete problem, remove "requires
> > service xyz" concept and allow only "requires service optional xyz".
> As i said i am shoving the NP-Complete problem under the rug for now.
> Forgive me!
Paul, are you looking only for comments to your webrev? If so, then I am sorry
for taking much larger perspective. I don't want to stop you integrating your
change at all.
The more low level comment I can provide: Is there a way to write simple unit
test? For example what would be the simplest way to simulate the erroneous
resolution described at [1] when the b service provider can't be found easily?
-jt
[1] http://wiki.apidesign.org/wiki/JigsawServices
More information about the jigsaw-dev
mailing list