Configure system property for conditional test execution
Added a system property 'doNotRunDatabaseTests' in the test configuration to allow conditional skipping of database tests. This helps in running tests selectively during different build scenarios.
This commit is contained in:
@@ -32,5 +32,6 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
systemProperty 'doNotRunDatabaseTests', System.getProperty('doNotRunDatabaseTests')
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user