Question: Question 2 Software Testing - Referendum To pass a referendum, a motion has to get more than half of the total votes and at least

Question 2 Software Testing - Referendum To pass
Question 2 Software Testing - Referendum To pass a referendum, a motion has to get more than half of the total votes and at least two- third of the states. A state is in favour if more than half of the voters are in favour. For this application, you have to set values for two arguments namely stateVotesFor and stote VotesAgainst, and expected values for outcomel). To assist you in your task, stote VotesFor and stoteVotes Against should be comma separated lists of whole numbers (that is, Integers). Note that outcomel) refers to passing or not the referendum The two lists should be the same length. Also, outcomel) should be Yes or No. Do not text for invalid data. Assume that the user enters valid data typus as arguments in the function Consider 1) Adding proper plain-English written description for each test 2) No numbers are allowed as part of the description 3) Be sure including all the test cases as described during the lectures and tutorials 4) All functions to test are designed such that they do not need more than 4 tests. You only have up to 4 tests available to assess all boundaries and partitions. Any extra test beyond the first 4 will not be taken in consideration for marking purposes Rubric (25 marks) Marlos Allocation All boundaries are tested All partitions are tested using Values nearby boundaries Proper descriptions are pe for my test Marlos 8 marks 8 marks 9 marki

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 General Management Questions!