1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-18 05:18:24 +02:00

Test DebugReport usage in piperStageWrapper

This commit is contained in:
Stephan Aßmus 2020-02-03 09:37:04 +01:00
parent 3010cb0c10
commit 0c2fb3181a

View File

@ -1,3 +1,5 @@
import com.sap.piper.DebugReport
import org.junit.Before
import org.junit.Rule
import org.junit.Test
@ -143,5 +145,6 @@ class PiperStageWrapperTest extends BasePiperTest {
assertThat(loggingRule.log, containsString('Stage Name: test_old_extension'))
assertThat(loggingRule.log, containsString('Config: ['))
assertThat(loggingRule.log, containsString('testBranch'))
assertThat(DebugReport.instance.localExtensions.test_old_extension, is('Extends'))
}
}