IP Library Granted Patent US 10,019,347
Granted Patent B2
US 10,019,347 · App. 14/940,507 · Granted Jul 10, 2018

Systems and methods for selection of test cases for payment terminals

Inventors: Paul Evans (Hampshire, GB); Paul Vanneste (Ottignies, BE)
Assignee: MASTERCARD INTERNATIONAL INCORPORATED
G06F11/3684G06F8/34G06F11/3676G06F11/3688G06F11/3692G06F11/3624G06F11/3664G06F17/30303
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,019,347
App. No.
14/940,507
Granted
Jul 10, 2018
Kind
B2
Abstract

The present disclosure proposes a computer implemented method for selecting test cases to be executed on a terminal by creating a configuration code and applying this code to a set of test case selection tuples. The present disclosure also proposes a method for automatically creating a set of test case selection tuples, taking a source code as an input. The created set of test case selection tuples can be used in the above-mentioned method for selecting test cases. Finally, the present disclosure proposes a method for operating a program for selecting test cases having a user interface and a selection logic. The program may apply the above-mentioned method for selecting test cases by creating a configuration code and applying this code to a set of test case selection tuples.

Claims (23)

1. A computer-implemented method for selecting test cases to be executed on a terminal, the method comprising:

creating a configuration code representing a configuration of the terminal, wherein the configuration code includes a bitmap having one or more bit entries, where each of the bit entries represents a Boolean fact relating to the terminal configuration;

applying the configuration code to a set of test case selection tuples, wherein each of the test case selection tuples comprises a mask, a corresponding comparison value set and a test case reference for a test case; and

for each of the test case selection tuples in the set:

identifying, using the mask, the one or more bit entries of the configuration code which are to be compared with the corresponding comparison value set;

comparing, via a Boolean operator, the values of the identified one or more bit entries with respective values of the corresponding comparison value set; and

selecting the test case for execution on the terminal if each of the values of the identified one or more bit entries corresponds to the respective values of the comparison value set.

2. The computer-implemented method of claim 1 , wherein the Boolean operator includes AND.

3. A computer-implemented method for creating a set of test case selection tuples for selecting test cases to be executed on a terminal, wherein each test case selection tuple comprises a mask, a corresponding comparison value set and a test case reference, the method comprising:

taking as an input a source code which defines configuration code rules and test case selection rules for selecting test cases for a terminal, wherein the configuration code rules define which aspects for a configuration of the terminal are to be comprised in a configuration code and which part of the configuration code relates to which of the aspects, and wherein the test case selection rules determine the test cases to be executed on the terminal in dependence on the configuration of the terminal; and

compiling the source code, wherein the set of test case selection tuples is generated as an output and stored, the mask of each test case selection tuple for identifying one or more bit entries of a bitmap of a configuration code for a terminal, and the identified one or more bit entries to be compared, via a Boolean comparison, with respective values of the corresponding comparison value set.

4. The method according to claim 3 , wherein the source code further defines the test cases and wherein compiling the source code further generates the test cases as an output.

5. The method according to claim 3 , wherein the source code is written in a programming language specifically designed for defining options for the configuration of a terminal and rules for selecting the test cases for the terminal in dependence on the configuration of the terminal.

6. A computer-implemented method for operating a test case selection program having a user interface and a selection logic, the method comprising:

providing, through the user interface, questions which allow a user to define a configuration of a terminal;

receiving user input defining the configuration of the terminal;

creating a configuration code representing the configuration of the terminal based on the user input, the configuration code including a bitmap, where each of multiple bit entries in the bitmap represents a Boolean fact relating to the configuration of the terminal;

applying the configuration code to a set of test case selection tuples, wherein each of the test case selection tuples comprises a mask, a corresponding comparison value set and a test case reference for a test case; and

for each of the test case selection tuples in the set:

identifying, using the mask, one or more of the bit entries of the configuration code which are to be compared, via a Boolean operator, with respective values of the corresponding comparison value set; and

selecting the test case for execution on the terminal when each of the values of the identified one or more of the bit entries corresponds to the respective values of the comparison value set.

7. The computer-implemented method of claim 6 , further comprising, for each of the test case selection tuples in the set, comparing, via the Boolean operator, the values of the identified one or more of the bit entries with the respective values of the corresponding comparison value.

8. The computer-implemented method of claim 6 , wherein the Boolean operator includes AND.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 16, 2015
From: EVANS, PAUL; VANNESTE, PAUL
To: MASTERCARD INTERNATIONAL INCORPORATED
Reel/Frame 037047/0773 →
Priority Claims (1)
EP 14193258 · Nov 14, 2014 · regional
Continuity (1)
Related Publication 20160140026A1 · May 19, 2016