Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Java Unit Testing How-To Gettin' started

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    10
    My Mood
    Angelic
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wink Java Unit Testing How-To Gettin' started

    Hello,

    We are making the Game RoboRally in Java now we have drawn the UML and made all the needed classes. Out of the blue our prof asks of us to do Unit Testing in Java but me and my team have never done this nor have we had any past experience with it.

    So I'm looking for a starters tutorial or something to helps me get started?

    I'm responsible for 3 classes with a total of 11 functions does the unit testing take a lot of time? Since we are on a schedule I need to find time to incorporate this.

    Kind regards,
    Vincent


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,400
    My Mood
    Hungover
    Thanks
    144
    Thanked 628 Times in 538 Posts

    Default Re: Java Unit Testing How-To Gettin' started

    First figure out what unit testing is: Unit testing - Wikipedia, the free encyclopedia
    Then look into ways to do it: Welcome to JUnit.org! | JUnit.org

    You might be able to get away with just printing out the values returned by your methods, or you might have to write a script that verifies output against input. That's up to what your prof wants.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Posts
    10
    My Mood
    Angelic
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java Unit Testing How-To Gettin' started

    Quote Originally Posted by KevinWorkman View Post
    First figure out what unit testing is: Unit testing - Wikipedia, the free encyclopedia
    Then look into ways to do it: Welcome to JUnit.org! | JUnit.org

    You might be able to get away with just printing out the values returned by your methods, or you might have to write a script that verifies output against input. That's up to what your prof wants.
    Thanks will start with it and Read Up

    Thanks for gettin' me started!

    Kind regards,
    Vincent

Similar Threads

  1. Hey 16 year old only started Java this morning, what is wrong with my code?
    By JavaProg in forum What's Wrong With My Code?
    Replies: 3
    Last Post: August 1st, 2013, 11:00 AM
  2. Java automated testing tools for Unit testing
    By rameezraja in forum Member Introductions
    Replies: 2
    Last Post: April 14th, 2012, 08:51 AM
  3. java testing
    By java_novice in forum Java Theory & Questions
    Replies: 7
    Last Post: March 13th, 2012, 10:38 AM
  4. [SOLVED] Testing Java EE
    By serdar in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 16th, 2011, 04:39 AM
  5. newbie: Getting started with java, need help on this
    By umairrockx in forum Java Theory & Questions
    Replies: 2
    Last Post: July 21st, 2011, 05:47 AM

Tags for this Thread