Package ru.tinkoff.kora.test.extension.junit5
package ru.tinkoff.kora.test.extension.junit5
-
ClassDescription
ApplicationGraphDrawabstraction forKoraAppTestIn case you want to initializeKoraAppGraphper Test Class, annotate your Test Class withTestInstance.Lifecycle.PER_CLASS, by defaultTestInstance.Lifecycle.PER_METHODis used, indicating that newKoraAppGraphwill be initialized each Test MethodIs useful when some part of configuration should be modified before test execution Example: Can be used to change config using TestContainer container portsIs useful whenApplicationGraphDrawis needed to be modified before test execution"application.conf" configuration modification for tests with system propertiesIndicate thatComponentfrom graph is expected to be injected in test