在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Jcbdewitt/cs310-gradle-hello-world开源软件地址(OpenSource Url):https://github.com/Jcbdewitt/cs310-gradle-hello-world开源编程语言(OpenSource Language):Java 60.3%开源软件介绍(OpenSource Introduction):Hello WorldThis repository will allow you to build your first Java project of the semester, including unit and acceptance tests, using Gradle as the build tool. Building the ProjectAfter you have cloned the repository, you should be able to navigate to the directory containing the
You can then run the acceptance tests using the Robot Framework plugin:
Finally, you can run the unit test coverage report using the Java Code Coverage (JaCoCo) plugin:
You can even do all of those things in one command:
When you want to get rid of all of the temporary files (compiled class files, etc.), enter this command:
If you want to do a full build and reporting from a clean project, you can just string it all together:
StructureThe directory structure that is assumed by Gradle (though it can be changed if you want) is as follows:
After you run
This file holds the results of all of the unit tests.
This file holds the unit test code coverage results from JaCoCo.
This file holds the Robot Framework test results.
This file holds all of the debug information from the Robot Framework tests.
This file (where name is specified in the jar settings of
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论