[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] Unit tests

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-10-22 16:07:17 CEST

Jesper Steen Møller <jesper@selskabet.org> wrote on 10/20/2006 05:42:44
PM:

> Mark Phippard wrote:
> > Are you talking about the Subclipse tests or svnClientAdapter? I
think the
> > latter are OK. I have never seen a commit to the Subclipse tests in
the
> > entire time I have been involved. I assume they do not cover much of
> > anything. I do not even know how to run them.
> >
> I've been tinkering with the former, and no, they haven't been updated
> for ages. However, they contain useful tests, and after a bit of
> updating, they're failing between 2 and 5 tests, depending on how I run
> them, the typical bug being a different svn status than what was
expected.
>
> This tells me we may have a race condition with the status cache. Is
> that possible?

Martin Letenay would probably be the best to answer that. I know we made
some internal changes to the cache to unify it with the SyncInfo cache.
Could the test just need to be updated?

> You run them by checking out the plugin, right click and choose Run as
> -> Plug-in JUnit test. It starts an Eclipse and does its thing. I'm sure

> you can automate it as well, thats how other projects handle their unit
> tests (WTP has quite a few)
>
> I'm going to commit my changes one of these days, as pristine it doesn't

> even compile.

I don't see any reason to not just commit them. It obviously cannot hurt
anything and might make it easier for someone to look at them more.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Sun Oct 22 16:07:26 2006

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.