(t *testing.T)
| 271 | } |
| 272 | |
| 273 | func TestStartWithMultipleExistingBranchesWithStay(t *testing.T) { |
| 274 | output, configuration := setup(t) |
| 275 | configuration.NextStay = true |
| 276 | |
| 277 | configuration.WipBranchQualifier = "green" |
| 278 | assertOnBranch(t, "master") |
| 279 | start(configuration) |
| 280 | assertOnBranch(t, "mob/master-green") |
| 281 | next(configuration) |
| 282 | assertOnBranch(t, "mob/master-green") |
| 283 | |
| 284 | configuration.WipBranchQualifier = "" |
| 285 | start(configuration) |
| 286 | assertOnBranch(t, "mob/master-green") |
| 287 | assertOutputNotContains(t, output, "qualified mob branches detected") |
| 288 | } |
| 289 | |
| 290 | func TestStartNextWithBranch(t *testing.T) { |
| 291 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected