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:
parent
3010cb0c10
commit
0c2fb3181a
@ -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'))
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user