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 java application for a mail order company

Write down a Java application for a mail order company that uses a data entry screen in which the user types an item number and a quantity. Write each record to a file named as "MailOrderRecords.txt".

  Write a program based on encryption scheme

Write a program based on encryption scheme.

  Generating a class known as point

Generate a class known as Point which has following private members: Float x - x-coordinate of point,,Float y - y-coordinate of point.

  Write a java program that uses a two-dimensional array

Write a Java program that uses a two-dimensional array

  How can each diagram relates to the solution

You are an outside consultant to a large chain of grocery stores. The store's management would like to dynamically check store's inventory from the central office.

  Testing the procedures

The company receives new release movies each Tuesday. Make a procedure that will enable the receiving clerk inorder to add the new movies received to the mm_movie table.

  Html and javascript

Write down the HTML and JavaScript: A 3x3 2D array: Arrays can have anything, even other arrays. In the JavaScript, 2D arrays are assigned with the single array, where each element consists of an array.

  Code for addition of new product and delete existing code

Implement the AJAX Programming based solutions in order to write a code to: 1) Add a new product to database. 2) Delete an existing product from database

  Is it good idea to elimination all operator precedence rules

will it be a good idea to elimination all operator precedence rules and require parentheses to show the desired precedence in expressions? Why or why not.

  Largest solution to the quadratic equation

In case, the value of "b squared" 4ac is negative, then code prints out the message "no real solutions" and returns. On the other hand, the function prints out the largest solution to quadratic equation.

  Create program that will read a list of student last names

create program that will read a list of student last names

  Stored value of five character variables in circular fashion

Write down a function that shifts the stored value of five character variables in a circular fashion. Your function should work in the following way. Suspose that C1, C2, C3, C4, C5 are variables of type char, and suspose that the values of these ..

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