You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build.gradle(My Application) file:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.1.3' apply false
id 'com.android.library' version '7.1.3' apply false
id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}
package com.example.myapplication
import org.junit.Test
import org.junit.Assert.*
import com.appmattus.kotlinfixture.kotlinFixture // Unresolved reference: appmattus
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
private val fixture = kotlinFixture()
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}
Should I use kts to get it to work?
The text was updated successfully, but these errors were encountered:
I used the files attached but have been unable to reproduce; well that is unless I have a mismatch between the type of test (unit test in src/test vs instrumentation in src/androidTest) and the dependency definition (testImplementation vs androidTestImplementation)
Hello,
First, thank you for the great library.
Cannot import
import com.appmattus.kotlinfixture.kotlinFixture
errorUnresolved reference: appmattus
\build.gradle(My Application) file:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
build.gradle(app module) file:
settings.gradle file:
ExampleUnitTest file:
Should I use kts to get it to work?
The text was updated successfully, but these errors were encountered: