Oh those are both good suggestions. I had not thought about
reinitializing after each test and the cfc's general integrity after
any test. It does take some time to refresh this and will add a lot
of time to my unit tests. I suppose there is not really a way around
it though.
On Jun 22, 1:30 pm, Brian Kotek <
brian...@gmail.com> wrote:
> No, you can't recreate just one bean, because that would mean traversing its
> entire dependency graph and recreating anything that depends on that bean,
> and anything that depends on those, etc. You'll want to reinitialize
> ColdSpring for each test case (which you probably should be doing anyway, to
> maintain the integrity of each test).
>
> HTH,
>
> Brian
>
> On Tue, Jun 22, 2010 at 3:57 PM, dustin.c <
dustin.chester...@gmail.com>wrote:
>
> > I am using ColdSpring to get beans in my MXUnit tests. I am using
> > MXUnit's injectMethod() in some of my tests which I believe persists
> > in the CS's cache and rolls down to following tests. Is there a way
> > to delete one bean from the cache or reload it?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ColdSpring-Users" group.
> > To post to this group, send email to
coldspri...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
coldspring-use...@googlegroups.com<
coldspring-users%2Bunsu...@googlegroups.com>
> > .