Question:

I need a Test Plan For Java?

by  |  earlier

0 LIKES UnLike

I need to create a test plan for a piece of java code for my course, what methods would i use, any help would be great

 Tags:

   Report

1 ANSWERS


  1. Test plans need to make sure that the application:

    1)  Does what it's supposed to do.

    2)  Doesn't do what it's not supposed to do.

    With respect to doing what it's supposed to do.

    All applications have a set of requirements that define what the application is supposed to do.  A test plan should contain one or more test cases that ensure that it produces the expected output for a given set of input (as defined in the requirements).

    With respect to not doing what it's not supposed to do.

    An application needs to be tested to make sure that it will react appropriately to bad input.  A test plan should contain several test cases to ensure that it produces the expected error messages for given sets of erroneous input.  Some examples of erroneous input would include:

    1)  Non numeric data in numeric data fields (i.e. "AA" entered instead of 18).

    2)  Non-existing data in look up fields (i.e. an employee number that doesn't exist, entered in a employee number search field).

    3)  Out of range data (i.e. negative numbers, or numbers greater than 31 entered into a day-of-month field).

    There are lots of other ways to test for bad input, you just need to be creative.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions