Capsule 5

GAMFLEW

General Information about the Capsule

Name: GAMFLEW
Identifier: ENACTEST_ID_5
Language: English
Category: Serious Game  
Keywords: Software Testing, White-box testing, Unit Testing, Challenge-based Learning  

Description:
GAMFLEW is a serious game designed to teach white-box test case design techniques through interactive challenges focused on achieving specific code coverage objectives. Players analyse code snippets, interpret objectives (e.g., “decision coverage of line N”), and use a Checkers board to define test inputs. Challenges include hints for guidance. Players earn points by submitting attempts and explaining their reasoning in comments, with scores and gameplay statistics displayed in real time. Teachers can check players’ submissions and review player performance: passed, failed and total attempts. The game includes seven base sets of challenges, a how-to-play help, and an explanation of the five code coverage criteria used in the game.   

Supporting Materials

Cost: Free or Provided as Part of Course Resources  
Copyright and Other Restrictions: Yes
Description: Licensed for educational and research purposes.

Educational

Interactivity Type: Interactive
Learning Resource Type: Serious Game
Interactivity Level: High
Intended End-User Role: Learner (Bachelor AND Master students) 

Context: Higher Education
Typical Age Range: Adult learners (18+ years)
Difficulty Level: Advanced
Description of Learning Objectives:

  • Understand the goals of different white-box coverage criteria   
  • Be able to design test cases to achieve white-box coverage levels  

Prerequisites

  • Familiarity with Javascript programming language.    

Classification of the Learning Objectives According to Bloom’s Taxonomy

  • Understand: Comprehend the different white-box test coverage criteria. 
  • Apply: Design test cases to achieve coverage levels.  
  • Analyze: Analyze coverage achieved by different test cases.  
  • Evaluate: Be able to calculate test case’s coverage.  

Learning Sequence
1. Learn how to play the game.

2.Read the information about code coverage criteria available in the game. 

3.Analyse the challenge, i.e., code provided and desired coverage level 

4.Design test cases interacting with the checker’s game board to achieve desired coverage and pass the challenge. 

Expected Consequences
a)Understand the goals of different white-box coverage criteria   

b)Be able to design test cases to achieve white-box coverage level goals