Pacman-like game used for teaching software testing. It exposes students to the use of git, Gradle, JUnit, and mockito.
Parts of the code are well tested, whereas others are left untested intentionally. As a student in software testing, you can extend the test suite, or use the codebase to build extensions in a test-driven way. As a teacher, you can use JPacman to create your own testing exercises.
- Git clone the project
- Open IntelliJ and create new project "from existing sources"
- Select 'Gradle' in the following screen as external model, and click 'Next'
- In the next screen, optionally adjust the Gradle options and click 'Finish'
- To see JPacman in action: run
nl.tudelft.jpacman.Launcher
- To run the test suite in IntelliJ: right click on a test or directory ->
Run
orRun ...Test
- Git clone the project
- To see JPacman in action:
./gradlew run
- To run the test suite and static analysis tools:
./gradlew check
- For tests only run
./gradlew test
- For static analysis tools only run
./gradlew staticAnalysis
- For tests only run