Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Optimizing Test Design Mutation Testing, ISP, and CFG in the GBIM Project

DEV Community·Vincent Davis·22 days ago
#TP0tfmZt
Reading 0:00
15s threshold

Vincent Davis Leonard TL;DR I applied three test design optimization techniques (Input Space Partitioning or ISP, Control Flow Graph or CFG Analysis, and Mutation Testing) to the four main features I manage in the GBIM project. These features include account registration, account activation via token, account verification by admin, and the approval or rejection of submissions. The results include 33 new tests in the backend, 3 commits in the frontend, an expanded mutation scope, and the addition of Stryker threshold enforcement to the CI pipeline. Tools and Methods Used 1. Input Space Partitioning (ISP) ISP (Ammann & Offutt, Introduction to Software Testing , 2016) is a technique that divides the input domain of a function into equivalence classes. These classes are groups of values expected to be treated similarly by the system. Instead of trying all combinations, we select one representative value per partition. I used the base-choice coverage strategy.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More