Same test pass in one project but fails in other project (Android)
I am facing an issue where my all tests are running in one app and not running in another app.
For example I took this sample test:
@Test
fun add() {
val hello: String = "hello"
assertThat("hello", equalTo(hello))
}
This test is running in one of the projects but is failing in another project. It's very unusual. I have added all the required dependencies in both the projects.
This is the log I am getting in the project where test is failing :
FAILURE: Build failed...