在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):vincentbrison/vb-android-app-quality开源软件地址(OpenSource Url):https://github.com/vincentbrison/vb-android-app-quality开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):vb-android-app-qualitySample Android project using Gradle, with basic quality tools set up. It can serve as a clean base for any Gradle Android project, and illustrates my articles about Gradle on my website. The sample app computes Pi using various algorithms, and talks to a REST API. LibrariesThe following libraries are used in the project:
QualityThe base configuration to run quality test can be found in the
To run these quality tools and get reports, you need to execute the following Gradle command: ./gradlew check By default, reports will be generated in See quality.gradle for configuration options of each tool. You can for example set:
Refer to the Gradle documentation to configure those plugins. FlavorsThe project itself show various uses of the flavor system. Flavors are defined in build.gradle. The following four flavors are defined: approximationPiPI is computed using a approximation. daggerMockedPiPI is computed using a mocked algorithm. REST communication is mocked through Dagger. exactPiPI is computed using an exact algorithm. mockWebServerPiPI is computed using a mocked algorithm. REST communication is mocked through MockWebServer. You can define several properties to your flavors. One very useful is You can also put specific sources and resources with flavors. As it is in this project, just create a directory under the src folder, name it with the name of your flavor, and put inside java codes and resources. TestingWork in progress... To go furtherThis project is based on these two other projects, which are awesome. Consider take a look at them: License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论