在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jamesguo33/gradle-testng-mockito-bootstrap开源软件地址(OpenSource Url):https://github.com/jamesguo33/gradle-testng-mockito-bootstrap开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):gradle-testng-mockito-bootstrapA ready-to-use bootstrap Java project backed by gradle, TestNG, Mockito, FEST-Assert 2 and Cobertura for Eclipse and Jenkins. Software used in the bootstrap project
Packages only used for showcasing the functionality:
The latest dependency information is always available in build.gradle. What we want to doWe have two complimentary goals:
The first goal covers your personal workflow as a software engineer with the code. The second goal covers integrating the code with the your engineering team as a whole. How to use the bootstrap project
DownloadYou have the following two options to start your own project with the bootstrap project. Option 1: You do not have a GitHub account -- clone the bootstrap projectIf you don't have a GitHub account, the simplest way is to just clone (i.e. checkout) the original bootstrap project. The only requirement is a local installation of git on your machine.
Now you can start hacking away!
Option 2: You do have a GitHub account -- fork the bootstrap projectIf you do have a GitHub account, I recommend that you fork the bootstrap project. Then start writing your own code against your personal fork. First, open the bootstrap project on GitHub and fork it. Then clone (i.e. checkout) your personal fork.
Note: Make sure to replace ``YOURUSERNAME`` in the git URL above with the name of your GitHub user account.
Now you can start hacking away!
About the actual Java code in the bootstrap projectThe bootstrap project ships with only two classes:
Using Gradle on the command lineInstalling GradleBefore continuing you must download and install Gradle if you haven't done so already. If you are on a Mac and have the Homebrew package manager installed, you just need to run:
Command ExamplesThe bootstrap project is a normal gradle project. Have a look at the
gradle documentation what this allows you to do. I will only list the most
important commands here. If you want to see what gradle tasks are available out of the box in the bootstrap project,
run
By default, executing the commands above will create output in the following locations:
Feel free to browse the directory tree to find additional files that you might need. Configuring Eclipse and/or JenkinsSee Bootstrapping a Java project with Gradle, TestNG, Mockito and Cobertura for Eclipse and Jenkins for more information including screenshots. ContributingIf you come up with any improvements, feel free send me a pull request. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论