You've already forked jenkins-lib
mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-08-25 20:09:25 +02:00
More tests
This commit is contained in:
@@ -60,7 +60,10 @@ class ConfigurationReaderTest {
|
||||
assertThat(jobConfiguration.getSmokeTestOptions().getVrunnerSettings()).contains("./tools/vrunner-smoke.json");
|
||||
assertThat(jobConfiguration.getSmokeTestOptions().isPublishToAllureReport()).isFalse();
|
||||
assertThat(jobConfiguration.getSmokeTestOptions().isPublishToJUnitReport()).isTrue();
|
||||
assertThat(jobConfiguration.getSmokeTestOptions().getCoverage()).isFalse();
|
||||
assertThat(jobConfiguration.getSmokeTestOptions().getCoverage()).isTrue();
|
||||
assertThat(jobConfiguration.getSmokeTestOptions().getDbgsPort()).isEqualTo(1555);
|
||||
|
||||
assertThat(jobConfiguration.getYaxunitOptions().getDbgsPort()).isEqualTo(1550);
|
||||
|
||||
assertThat(jobConfiguration.getInitInfoBaseOptions().getRunMigration()).isFalse();
|
||||
assertThat(jobConfiguration.getInitInfoBaseOptions().getAdditionalInitializationSteps()).contains("vanessa --settings ./tools/vrunner.first.json");
|
||||
@@ -118,7 +121,7 @@ class ConfigurationReaderTest {
|
||||
assertThat(jobConfiguration.edtAgentLabel()).isEqualTo("edt@2021.3.4:x86_64");
|
||||
}
|
||||
|
||||
@Disabled
|
||||
@Test
|
||||
void testInfoBaseFromFiles() throws IOException {
|
||||
// given
|
||||
String config = IOUtils.resourceToString(
|
||||
|
@@ -9,6 +9,7 @@ public class EnvUtils implements EnvironmentAction {
|
||||
|
||||
public String NODE_NAME = "node";
|
||||
public String WORKSPACE = "ws";
|
||||
public String BRANCH_NAME = "master";
|
||||
|
||||
@Override
|
||||
public EnvVars getEnvironment() throws IOException, InterruptedException {
|
||||
|
@@ -23,13 +23,17 @@
|
||||
"name": "YAXUnit",
|
||||
"initMethod": "fromSource",
|
||||
"path": "./src/cfe/YAXUnit",
|
||||
"stages": ["yaxunit"]
|
||||
"stages": [
|
||||
"yaxunit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "BDD",
|
||||
"initMethod": "fromSource",
|
||||
"path": "./src/cfe/bdd",
|
||||
"stages": ["bdd"]
|
||||
"stages": [
|
||||
"bdd"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mods",
|
||||
@@ -40,7 +44,9 @@
|
||||
"name": "mods2",
|
||||
"initMethod": "fromSource",
|
||||
"path": "./src/cfe/mods2",
|
||||
"stages": ["initInfoBase"]
|
||||
"stages": [
|
||||
"initInfoBase"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -64,7 +70,9 @@
|
||||
"smoke": {
|
||||
"vrunnerSettings": "./tools/vrunner-smoke.json",
|
||||
"publishToAllureReport": false,
|
||||
"publishToJUnitReport": true
|
||||
"publishToJUnitReport": true,
|
||||
"coverage": true,
|
||||
"dbgsPort": 1555
|
||||
},
|
||||
"notifications": {
|
||||
"email": {
|
||||
|
Reference in New Issue
Block a user