Create testing cases with cartesian

Assignment Help Computer Engineering
Reference no: EM1336578

Many functions have an almost infinite number of input values. Testing all of these values is not possible in most cases, and doesn't necessarily tell us more than testing a few values. How do you choose the best values to test? Equivalence class partitioning can be used to divide the test inputs into classes so that each class contains the same kinds of input (in another word, you may only need to test one input from each class), thus reducing the number of test cases to a manageable size. For example, if the specification of one program is: "Design a program that accepts inputs of ASCII strings (arbitrary long) and breaks the input into lines of 60 characters". The requirement for the testing group is to generate a three test cases for test this program. OK, then you can generate the following two inputs: the first input with 40 ASCII characters and the second input with 30 characters. Now you want to design the third input, how long should it be? 16 characters or 100 characters? If you do not use partition method, you may feel it is better to generate a 100 character input for testing. But it is not systematic. A systematic approach will generally divide the input space for the above program into three "equivalence" classes:

1. inputs with less than 60 characters
2. the input with 60 characters
3. inputs with more than 60 characters

Furthermore, you may further divide the third classes into more classes: inputs whose length is long than 60 but less than 120, inputs whose length is long than 120 but less than 180, etc...
Thus the general rule for partition testing is:

1. Partition testing separates the input space into classes whose union is the entire space, but the classes may not be disjoint
2. Uniformly chooses one or more test from each class
3. Generate testing cases with Cartesian product by eliminating illegal inputs. This may still lead to huge amount of test cases. For example, if you got 5 inputs (each in a separate partitioned class, for each input/classes, you decide to have 6 values, then you will still get 65=7776 test cases.

My task for this exercise is to use Equivalence Class partitioning and Boundary Value Analysis (which means to test the input at the boundary of the equivalence class partition) to analyze the valid and invalid inputs for Microsoft WinWord or any other software package that you have installed on your computer. If you choose to test different software than WinWord, please make sure that the software has several functions for user input (e.g., the zoom menu that needs user input or the search/replace menu).

As an example (or beginning point), you may use the following divided categories for WinWord "Find" and "Format Font" function.

Reference no: EM1336578

Questions Cloud

Assume that you have drawn a total product : Assume that you have drawn a total product curve for labor given a specific technology. Now let some sort of technological change increase the productivity of labor.
Explain marketing mix at hallmark : Explain Marketing Mix at Hallmark and discuss how each element influences Hallmark's tactics and marketing strategy
Minimizing the bus company''s salary : Estimate  how to minimize the bus company's salary, hiring, and firing costs over the next 5 years.
Explain how does that rate compare with the rate : Explain how does that rate compare with the rate in the previous month. What were the unemployment rates for adult men, adult women, teenagers, blacks, Hispanics, and whites.
Create testing cases with cartesian : My task for this exercise is to usage Equivalence Class partitioning and Boundary Value Analysis (which means to test the input at the boundary of the equivalence class partition) to analyze the valid and invalid inputs for Microsoft WinWord or an..
Explain clarification of marketing mix : Explain Clarification of Marketing mix and How does the marketing mix affect the development of your selected organization's marketing strategy and tactics
Discuss the major functions of informative presentations : Discuss and explain the major functions of informative presentations.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Make a function definition called backward

build a function definition called backward, with three parameters, the first and second parameters are arrays of integers of equal size and the third is an integer indicating the size of each array.

  How to print out the matrices

My main problem is that I don't know how to convert a text file like this into the matrice that I can use. I wasn't taught how to in my previous classes and I think my professor imagine that we know how.

  Analyze and write down a comparison of c++ pointers

Use safety and convenience as the primary considerations in the comparison and also consider fixed heap-dynamics variables.

  Define compensation structure and job design research

Assess value of the position using a job-based approach. The job based approach will assess the value that the specific position brings to the organization.

  What are the parallel arrays

The memory address of the first array location is known as ?Java exception thrown if an array index is out of bounds.

  Make a design flow chart or psuedocode algorithm

In either case, show the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. On longer term loans, the list will scroll off the screen.

  What profit do you see with partitioned view

Explain your idea for a database along with your thoughts for a partitioned view. 1. How will you use this partitioned view?

  Sum of array elements

Provided an array of ints named x and an int variable named total which has already been described, write down some code which places sum of all the elements of the array x into total.

  Design the created cell.

design a 2x2 cell array A with the following elements: 4x4 identity matrix; the string 'London is the largest city in world', the complex number (3+i*10); the array of N=20 numbers (of type single) representing the geometric progression with the b..

  Program to generate professor rating class

Write down the program which generates a Professor Rating class containing of the professor ID and three ratings. The three ratings are utilized to evaluate the easiness, helpfulness, and clarity.

  Wireless networking

Explain the origins/genesis of the wireless networking. Explain the devices included used and how they operate.

  Make a view called v_no_cost

Using the ITD410_P1 database you created for the Independent Project in Unit 1, write scripts in a file known  ITD410_P3.SQL to create the following views. Remember to include a uses clause at the top of your script file to use the ITD410_P1 datab..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd