Discussion:
Junit test Case for intractive Robot
asherbaig
2008-12-09 15:04:24 UTC
Permalink
Can somebody tested intractive robot using Junit in eclipse.How to
test intractive robot in junit eclipse?.Any idea or solution ?

Thanks,


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
flemmingnlarsen
2008-12-09 21:12:20 UTC
Permalink
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
Post by asherbaig
Can somebody tested intractive robot using Junit in eclipse.How to
test intractive robot in junit eclipse?.Any idea or solution ?
Thanks,
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
asherbaig
2008-12-10 15:11:55 UTC
Permalink
I tried to find Test module but not succeed yet.Could you plzzz point
out where is it ?.
Thnaks
Post by flemmingnlarsen
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
Post by asherbaig
Can somebody tested intractive robot using Junit in eclipse.How to
test intractive robot in junit eclipse?.Any idea or solution ?
Thanks,
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
flemmingnlarsen
2008-12-10 21:09:33 UTC
Permalink
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
Post by asherbaig
I tried to find Test module but not succeed yet.Could you plzzz point
out where is it ?.
Thnaks
Post by flemmingnlarsen
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).
Post by flemmingnlarsen
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
Post by asherbaig
Can somebody tested intractive robot using Junit in eclipse.How to
test intractive robot in junit eclipse?.Any idea or solution ?
Thanks,
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Loading...