« Return to Thread: Junit test Case for intractive Robot

Re: Junit test Case for intractive Robot

by flemmingnlarsen-2 :: Rate this Message:

Reply to Author | View in Thread

You can browse the sources from SVN viewer at SourceForge e.g. from here:

http://robocode.svn.sourceforge.net/viewvc/robocode/robocode/trunk/

In general you can read about how to access the sources, which use the
SVN at from this page:

https://sourceforge.net/svn/?group_id=37202

- Flemming


--- In Robocode@..., "asherbaig" <devilvsevil@...> wrote:

>
> I tried to find Test module but not succeed yet.Could you plzzz point
> out where is it ?.
> Thnaks
>
> --- In Robocode@..., "flemmingnlarsen"
> <flemming.n.larsen@> wrote:
> >
> > Hmm.. this will not be easy as an interactive robot needs a
> > user/tester to give some input using the keyboard and/or mouse.
> >
> > If you are familiar with the sources of the Robocode game, you will be
> > able to find the top module named 'test'. This module contains the
> > current test units for Robocode. Here you can get a good example of
> > how to run test units from Eclipse (and/or IntelliJ IDEA for that
> matter).
> >
> > With a test, the test unit should ask the user for input for the
> > keyboard and/or mouse, and react on it be watching what the robot is
> > doing. This is not easy to explain here, but as mentioned, you can get
> > a good clue by examining the test sources for Robocode.
> >
> > Regards,
> > - Flemming
> >
> > --- In Robocode@..., "asherbaig" <devilvsevil@> wrote:
> > >
> > > Can somebody tested intractive robot using Junit in eclipse.How to
> > > test intractive robot in junit eclipse?.Any idea or solution ?
> > >
> > > Thanks,
> > >
> >
>


 « Return to Thread: Junit test Case for intractive Robot