Skip to content
A
← All projects

2024

BlackWidow-Chess Testing

A JUnit test suite reaching 90%+ coverage on BlackWidow-Chess, a 200,000-line Java engine - partition testing for piece movement, plus GitHub Actions CI.

Overview

BlackWidow-Chess is a 200,000+ line Java chess application. As part of UC Irvine coursework, I designed and executed a test suite to validate its game mechanics - the kind of rigor that keeps a large legacy system from regressing.

Using JUnit and systematic partition testing, the suite exercises chess piece movement across a wide range of game scenarios and reaches over 90% code coverage.

I also introduced GitHub Actions for continuous integration, automating compilation and the full test run on every push so integration issues surface immediately rather than at merge time.

Highlights

  • 90%+ code coverage with JUnit on a 200,000-line codebase.
  • Systematic partition testing across chess piece movements and game scenarios.
  • Pioneered GitHub Actions CI - automated compilation and test runs on every push.
  • Validated game mechanics on a large legacy Java engine.

Stack

JavaJUnitGitHub Actions