blob: 7480655d34c56aabd9739b28a4ca7a8f38d09bbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
"regression" tests
==================
Tests for check we don't introduce some bugs again.
Testing if we can build after checking out from a tag.
SCENARIO morph build works after checkout from a tag
GIVEN a workspace
AND a git server
WHEN checking out the test-tag system tag
THEN morph build the system simple-system of the tag test-tag of the repo test:morphs
Running `morph branch` when the branch directory exists doesn't
remove the existing directory.
SCENARIO re-running 'morph branch' fails, original branch untouched
GIVEN a workspace
AND a git server
WHEN user creates system branch foo
THEN the system branch foo is checked out
The branch is checked out correctly, now it should fail if the user executes
`morph branch` with the same branch name.
WHEN user attempts to create system branch foo
THEN morph failed
AND the branch error message includes the string "File exists"
The branch still checked out.
AND the system branch foo is checked out
|