(t *testing.T)
| 288 | } |
| 289 | |
| 290 | func TestStartNextWithBranch(t *testing.T) { |
| 291 | _, configuration := setup(t) |
| 292 | configuration.ResetDeleteRemoteWipBranch = true |
| 293 | assertOnBranch(t, "master") |
| 294 | configuration.WipBranchQualifier = "green" |
| 295 | |
| 296 | start(configuration) |
| 297 | assertOnBranch(t, "mob/master-green") |
| 298 | assertMobSessionBranches(t, configuration, "mob/master-green") |
| 299 | configuration.WipBranchQualifier = "" |
| 300 | |
| 301 | next(configuration) |
| 302 | assertOnBranch(t, "master") |
| 303 | |
| 304 | configuration.WipBranchQualifier = "green" |
| 305 | reset(configuration) |
| 306 | assertNoMobSessionBranches(t, configuration, "mob/master-green") |
| 307 | } |
| 308 | |
| 309 | func TestStartNextStartWithBranch(t *testing.T) { |
| 310 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected