Skip to content

Repository with the source code of our experiments for a multi-objective prioritization approach to optimize the execution of natural language test cases of a game.

Notifications You must be signed in to change notification settings

asgaardlab/natural-language-test-prioritization

Repository files navigation

Prioritizing Natural Language Test Cases Based on Highly-Used Game Features

This repository contains the source code of the experiments that we performed for our multi-objective optimization approach for prioritization of manual test cases.


Our approach was applied and evaluated with the data of the Prodigy Math game from our industry partner Prodigy Education. Our approach consists of two main steps: (1) automatic identification of the game feature(s) that are covered in manual test cases described in natural language and (2) prioritization of test cases based on the game features that are highly-used by players.

(1) Zero-shot classification: we used three techniques/models with strong zero-shot classification capabilities and different combinations (ensembles) of those techniques/models to automatically identify the covered game features from the textual description of test cases:

(2) Multi-objective optimization to prioritize the execution of test cases: we performed two main experiments with the NSGA-II genetic algorithm to find optimal test case execution orderings:

  • Without feature usage: our objectives functions are number of covered game features (maximize) and test execution time (minimize)
  • With feature usage: our objectives functions are number of covered highly-used game features (maximize) and test execution time (minimize)

Structure of directories

The following directories contains the source code of all the approaches that were part of our experiments.


Dependencies

The following dependencies are required to run the notebooks and scripts on your local machine:

Any questions about the work can be sent to the first author by email (markosviggiato [at] gmail.com)

About

Repository with the source code of our experiments for a multi-objective prioritization approach to optimize the execution of natural language test cases of a game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published