We have Paparazzi in the same modules as our other...
# squarelibraries
j
We have Paparazzi in the same modules as our other module's unit tests. Previously it worked, the bad part was that running screenshots was also executing unit tests and vice versa, but that was a thing to optimize, not a thing to make it work. But after upgrading to 1.2.0, we have many issues when these run together: • Dispatcher.Main fails in normal unit tests when recording screenshots ◦
java.lang.IllegalStateException at MainDispatchers.kt:115
Caused by: java.lang.IllegalStateException at MainDispatchers.kt:115
Caused by: java.lang.IllegalStateException at HandlerDispatcher.kt:55
• Android Lint linting our dependencies (probably some classpath manipulation?) ◦
/builds/mobile/android/cache/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk15on/1.67/5f48020a2a60a8d6bcbecceca23529d225b28efb/bcpkix-jdk15on-1.67.jar: Error: checkClientTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager]
So what approach you would suggest? We have tens of modules, so separating screenshot test to separate modules is not something we would prefer. We are considering JUnit suite or other filtering, but I guess this must be an issue for everybody. Thank you.
111 Views