# JPacman
[![Build Status](https://travis-ci.com/SERG-Delft/jpacman.svg?branch=master)](https://travis-ci.com/SERG-Delft/jpacman)
## About
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.
We have developed and are using this code at a software testing course at Delft University of Technology, The Netherlands. Teachers interested in seeing the exercises I use there are invited to contact me.
Other universities who have used this material include Antwerp, Mons, Eindhoven, and UBC (Vancouver).
At TU Delft, we use it in combination with GitLab as continuous integration and feedback server.
If you have any suggestions on how to improve JPacman, please do not hesitate to contact us, open an issue, or provide a pull request. Since testing is deliberately left as an exercise, pull requests that "solve" exercises or offer full coverage are less likely to be merged.
Main contributors:
* Arie van Deursen (versions 1.0-5.x, 2003-2013, updates to versions 6.x and further, 2014-...)
* Jeroen Roosen (major rewrite, version 6.0, 2014)
## Getting Started
### IntelliJ
1. Git clone the project
2. Open IntelliJ and create new project "from existing sources"
3. Select 'Gradle' in the following screen as external model, and click 'Next'
4. In the next screen, optionally adjust the Gradle options and click 'Finish'
5. To see JPacman in action: run `nl.tudelft.jpacman.Launcher`
5. To run the test suite in IntelliJ: right-click on a test or directory -> `Run` or `Run ...Test`
### Command line
1. Git clone the project
2. To see JPacman in action: `./gradlew run`
3. To run the test suite and static analysis tools: `./gradlew check`
1. For tests only run `./gradlew test`
2. For static analysis tools only run `./gradlew staticAnalysis`
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
基于java进行的软件测试实验代码.zip (640个子文件)
gradlew.bat 3KB
gradlew.bat 3KB
gradlew.bat 3KB
gradlew.bat 3KB
gradlew.bat 3KB
gradlew.bat 3KB
gradlew.bat 3KB
gradlew.bat 3KB
gradlew.bat 3KB
BillTest.class 3KB
AmazingPointCalculator.class 2KB
AmazingPointCalculator.class 2KB
AmazingPointCalculator.class 2KB
AmazingPointCalculator.class 2KB
Bill.class 2KB
TriangleTest.class 1KB
TriangleTest.class 945B
Triangle.class 669B
Triangle.class 669B
report.css 4KB
base-style.css 3KB
style.css 1KB
prettify.css 336B
triangle.csv 12KB
triangle.csv 12KB
.editorconfig 111B
.editorconfig 111B
.editorconfig 111B
.editorconfig 111B
player.feature 1KB
player.feature 1KB
player.feature 1KB
player.feature 1KB
suspend.feature 1KB
suspend.feature 1KB
suspend.feature 1KB
suspend.feature 1KB
startgame.feature 936B
startgame.feature 936B
startgame.feature 936B
startgame.feature 936B
startup.cn.feature 935B
startup.cn.feature 935B
startup.cn.feature 935B
startup.cn.feature 935B
bundle.gif 709B
class.gif 586B
report.gif 363B
source.gif 354B
group.gif 351B
package.gif 227B
session.gif 213B
method.gif 193B
branchpc.gif 91B
branchnc.gif 91B
redbar.gif 91B
greenbar.gif 91B
branchfc.gif 91B
up.gif 67B
down.gif 67B
sort.gif 58B
.gitattributes 223B
.gitattributes 223B
.gitattributes 223B
.gitattributes 160B
.gitattributes 160B
.gitignore 385B
.gitignore 385B
.gitignore 385B
.gitignore 385B
.gitignore 184B
.gitignore 184B
.gitignore 184B
.gitignore 184B
.gitignore 108B
.gitignore 108B
.gitignore 108B
.gitignore 108B
.gitignore 108B
.gitignore 50B
.gitignore 50B
build.gradle 4KB
build.gradle 4KB
build.gradle 4KB
build.gradle 4KB
coverage.gradle 2KB
coverage.gradle 2KB
coverage.gradle 2KB
coverage.gradle 2KB
coverage.gradle 2KB
coverage.gradle 2KB
build2.gradle 2KB
build2.gradle 2KB
build2.gradle 2KB
build2.gradle 2KB
build.gradle 2KB
build.gradle 1KB
build.gradle 1KB
build.gradle 1KB
build.gradle 1KB
共 640 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
少年不带@℡
- 粉丝: 2263
- 资源: 2633
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功