Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plzz answer dear lovely experts Assignment #3: Functional / Mutation Testing-Due March 6th, 2019 @ 10:00AM-In Class Question 1 [30 marks] Background You work in

image text in transcribed

image text in transcribed

plzz answer dear lovely experts

Assignment #3: Functional / Mutation Testing-Due March 6th, 2019 @ 10:00AM-In Class Question 1 [30 marks] Background You work in the Quality Assurance area for a company that develops mobile phone software. One of the new applications that your company is developing is voice recognition software that will accept a variety of voiced in commands and places the telephone call. The project charter and business requirements are in the process of being developed for this project In anticipation of this, your Manager has asked you to do some preliminary work Develop Finite State Machines for the following: Handle outgoing calls using number keypad/verbal/speed dialing methods (20 marks) 2. 1. Handle incoming calls (10 marks) Upon completion of the Finite State Machines, you will build out simple test cases in the following format. Test ld Test Step(s) Expected Result(s) The following transition conditions/states must be considered in your answer: Idle, ringing (incoming/outgoing), hanging up, busy, dialing (verbal, digits, speed), answering, connecting, disconnecting dial tone, talking, timing out, incomplete dial, invalid number, long distance, dropped call, redial and going to voicemail. As the most experienced QA person in your group, you have been given the task of figuring out how to develop these MARK RUBRIC: You will get full marks if your Finite State Machine can flow from one state to the next and that the test cases derived match the state machine, One mark will be deducted for each state machine transition that is not correct or not represented by a test case. Question 2 [70 marks I. Using Visual Studio, create a new C# Console Application (or use the same one from Lab #2 earlier this term) for a simple calculator. You may use the AwesomeCalculator that is included in eConestoga with this Assignment. 2. Add four methods to this application: addition, subtraction, multiplication, and division 3. Create three unit tests using NUnit for each method (for a total of twelve unit tests) and ensure that each unit test is passing-attach the results as a screenshot. At this time, DO NOT use the following arguments for the division tests: (1,3), (2, 1), 9,3) 4. Create a mutant for the division method that changes the/character for a(that is, change the division intoa multiplication). 5. Re-run your unit tests again with the same arguments as in step 3, from above and attach the results as a screenshot 6. What were the results of your original unit tests with the Mutant? 7. Now, add three more tests for the division method using the arguments (1,3), (2, 1), (9,3) (in addition to the original division test cases) and attach the results as a screenshot. You should have 15 unit tests now 8. What were the results of your unit tests in this case? What does this tell you about the quality of your unit testing strategy based on using Mutants? For this assignment you must use a form of version control. You must use Git through Git Bash as in Assignment 01 and show three distinct, unique commits. 1. Demonstrate your program in class. Printouts Handed in Class (in order): 2. a. b. c. d. e. f. Assignment Cover sheet with your name, student ID, "Assignment #3" in the title and date Assignment Rubric left blank (found on eConestoga) Print out of your Finite State Machines and the associated test cases. Copy of your C# source code Copy of your NUnit Test class source code Print out of Doc showing the results of your NUnit tests being run in the NUnit UI, along with explanations/answers to the above questions. Finally, a screenshot/output of your git repository log or any output from your version control showing commits 3. eConestoga Submission: A single compressed (.zip format) archive file containing the solution folder of your source code (so I can run it) and the doc file with the screenshots, calculations and explanations. Note: Any late submission after 10:00am or not handing in either the hard or soft copies will be penalized. Also, anyone coming in late for this class(ie, after 10:00am) will also be penalized for lateness (-20%)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899