Fabio Berta
07/24/2023, 1:30 PMrunBlocking
in a junit4 @Before
block to setup some test fixtures. This works fine in JVM tests, however, Android tests hang forever. Is that to be expected?Richard Hajdu
07/24/2023, 2:21 PMrunBlocking
block in the setup (or teardown) method as it can cause threading issues.Fabio Berta
07/24/2023, 2:34 PMFabio Berta
07/24/2023, 2:34 PMRichard Hajdu
07/24/2023, 2:39 PMrunTest
block to avoid threading issues. Maybe extract these setups into a method private in the test class as an extension on the TestScope
.Fabio Berta
07/24/2023, 2:41 PMRichard Hajdu
07/24/2023, 2:46 PMFabio Berta
07/24/2023, 2:46 PM