Gradle Include Pattern -
our project started separating our unit , integration tests, used contained within same package. created task kick off our integration tests:
task inttest(type: test){ systemproperty ..., system.properties[...] systemproperty ..., system.properties[...] include '**/*int*.java','**/*.func*.java','my.path.to.api.files.*' }
however i"ve noticed none of our integration nor functional tests running. can see our pattern looks correct. ideas why they're not being kicked off?
i running cli using gradle :application:inttest
this works correctly. had dependency issue breaking us.
my app.gradle file inheriting common.gradle file. common.gradle file had same name 1 of tasks, breaking tests. changed name , works now.
Comments
Post a Comment