Имам нужда от много лесен начин да накарам Robolectric 3.0 да включи регистрирането. Искам да видя изхода от robolectric, не само моите тестове. Всичко, което опитах извън мрежата, не работи.
Къде да залепя това?
robolectric.logging.enabled = true
Опитах следното:
Във файл robolectric.properties в test/java/res
Във файл robolectric.properties в test/java/resources
Във файл robolectric.properties в test/res
Във файл robolectric.properties в test/resources
В gradle:
afterEvaluate {
project.tasks.withType(Test) {
systemProperties.put('robolectric.logging.enable', 'true')
}
}
В gradle:
tasks.withType(Test) {
testLogging.exceptionFormat = 'full'
systemProperties.put('robolectric.logging.enable', 'true')
}