Skip to content

Instantly share code, notes, and snippets.

@NikCapko
Last active September 15, 2023 19:45
Show Gist options
  • Save NikCapko/feec9714385169c9b6a22708916c9096 to your computer and use it in GitHub Desktop.
Save NikCapko/feec9714385169c9b6a22708916c9096 to your computer and use it in GitHub Desktop.
Test File Tepmplate
@file:Suppress("NonAsciiCharacters")
package ${PACKAGE_NAME};
import org.junit.Test
/**
* Tests for [${NAME}]
*/
internal class ${NAME}Test {
//region stubs
//endregion
//region mocks
//endregion
private val testSuite = ${NAME}()
//region tests
@Test
fun `test sructure template`() {
//given
// when
// then
}
//endregion
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment