Java module for testing


The object of the testing process is a Java module or program, which may be written by us or anybody else.
During this tutorial we will test a simple module. In this module there is a simple stack implementation and a bean class.

Let's have a look on the frame of our Java code:
public class Stack
{
  public Stack();
  public void push(Object pElement);
  public Object pop();
}

public class MyBean
{
  public  String name;
  private String  type;
  private String[] stringArray;
  public MyBean();
  public void setType(String pValue);
  public String getType();
  public void setStringArray(String[] pValue);
  public String[] getStringArray();
}
You can find the whole source code under the tutorial/src directory.