Question: yes ive uploaded a state machine model ive created but i dont believe its correct. I need some help and i need some guidance on

yes ive uploaded a state machine model ive created but i dont believe its correct. I need some help and i need some guidance on cReating the test cases foR my assignment.
Software Testing Assignment
Task 2: This question requires you to use the following specification for processing a list of integers that computes the total and average for the positive integers. Note the list may contain both positive and negative integers. You should use at least the following pseudocode operations when computing the total and average.
private void addTotal(num) adds the num to the total
public int getTotal() returns the total
private void setAverage()- computes the average
public float getAverage() returns the average
public void processList(list) passes in a list of integers and processes the list
State any assumptions you make when answering this question.
(a) Draw a state machine using the specification above to process the list of integers. Use Eclipse Papyrus to draw your state machine, and copy and paste the state machine diagram into your answer document. You are required to submit the a zipped file of your Papyrus project with the state machine along with the answer sheet in an overall zipped file. (Team Activity)
(b) Write test cases that satisfy all states and all transitions criteria using the state machine in (a).(Team Activity). Each team member must write at least 4 test cases 2 from all states and 2 from all transitions criteria. These test cases need to be reviewed by the entire team. Each test case should use the following format:
Team Member Name:
Test Case ID:
Purpose:
Test Case Setup:
Input:
Expected Output:
yes ive uploaded a state machine model ive

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!