1.15.8 使用命令行运行单元测试

优质
小牛编辑
119浏览
2023-12-01

./gradlew test

执行gradle测试任务后所有的测试用例都会被运行,然后会产出测试报告.

测试报告存放在址: app\/build\/reports\/debug\/index.html

通过gradle工具栏执行的效果同命令行.