The Task Software quality assurance and testing with specified methods
Part 1: Software quality assurance and testing tasks in structured system development based on the design specified in the given structure chart.
Part 2: Software quality assurance and testing tasks in object oriented approach based on the design specified in the given class diagram.
Part 3: Identify bugs from given program using different testing methods
The following is the structure chart of a Payroll System. See image.
1.Design a test plan which should include what you are going to test and how shall you test it.
2.Identify and list all the major test cases (Test items)
3.Choose 3 test cases you listed in 2) and design at least 3 test data for each one of these 3 test cases. Specify the expected output for each one of the test data.
4.Explain how do you test the system in terms of Unit test, Integrated test, System test and Acceptance test.
5.Explain what is white box test and what is black box test, and explain how could you use these techniques in test this particular system.
6.Explain what is Alpha test and what is Beta Test, and explain how could you use these techniques in test this particular system.
Given a simple class diagram as shown in the below picture: See image.
Based on this given Class diagram, please complete the following tasks:
1.Design a test plan which should include what you are going to test and how shall you test it.
2.Identify and list all the major test cases (Test items)
3.Choose 3 test cases you listed in 8) and design at least 3 test data for each one of these 3 test cases. Specify the expected output for each one of the test data.
4.Explain how do you test the system in terms of Unit test, Integrated test, System test and Acceptance test.
5.Explain how could you use white box and black box techniques in testing this particular system.
6.Explain how could you use Alpha test and what is Beta Test techniques in test this particular system.
The following is a given Java program. There are some errors (Bugs) in the program. Software quality assurance process is needed to make sure the program is of good quality. As such, testing/debugging is needed. The following is the program.
class thread123 extends Thread
{
public thread123(int ind, int interval)
{
i0 = ind; delay = interval;
}
public void run()
{
try
{
for (int i=1; i <= 10; i++ )
{
if (i0 == 1)
System.out.println("n = " + i + ", Time = " + (delay*i-delay) +", Thread one: " + (2*i+5));
else if (i0 = 2)
System.out.println("n = " + i + ", Time = " + (delay*i-delay) +", Thread Two: " + (i+10)*2);
else
System.out.println("n = " + i + ", Time = " + (delay*i-delay) +", Thread Three: " +(18*(i*i)-12)/(i-2);
sleep(delay);
}
} catch (InterruptedException e)
{ return; }
}
private int i0;
}
class Threads
{ public static void main(String[] args) throws InterruptedException
{
thread123 t1 = new thread123(1, 20); thread123 t2 = new thread123(2, 3.0); thread123 t3 = new thread123(3, 40);
t1.start();
t2.start();
t3.start();
t1.join();
t2.join();
t3.join();
System.out.println("Main thread done");
}
}
Based on this given program, please complete the following tasks:
1.There are at least 3 errors in the above program. Try to debug these errors.I expect you to provided the following:
2.After you completed the debugging, try to identify and list all the major test cases (Test items)
3.Choose 3 test cases you listed in 14) and design at least 3 test data for each one of these 3 test cases. Specify the expected output for each one of the test data.
4.For the errors you found, state which errorr is the easiest one to find and which is the most difficult one to find. Why?