-
Notifications
You must be signed in to change notification settings - Fork 0
/
start-tests.sh
executable file
·63 lines (50 loc) · 1.92 KB
/
start-tests.sh
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
echo "Testing 'organization create'..."
./restya-cli.py organization create -o "Organization #1"
./restya-cli.py organization create -o "Organization #2"
./restya-cli.py organization create -o "Organization #3"
echo
echo "Checking..."
./restya-cli.py organization list
echo
echo "Testing 'organization delete'..."
./restya-cli.py organization delete -o "Organization #2"
./restya-cli.py organization delete -o "Organization #3"
./restya-cli.py organization list
echo
echo "Checking..."
./restya-cli.py organization list
echo
echo "Testing 'organization list-boards'..."
./restya-cli.py organization list-boards -o "Organization #1"
echo
echo "Testing 'organization create-board'..."
./restya-cli.py organization create-board -b "Board 1" -o "Organization #1"
./restya-cli.py organization create-board -b "Board 2" -o "Organization #1"
./restya-cli.py organization create-board -b "Board 3" -o "Organization #1"
echo
echo "Checking..."
./restya-cli.py organization list-boards -o "Organization #1"
echo
echo "Testing 'organization close-board'..."
./restya-cli.py organization close-board -b "Board 2" -o "Organization #1"
./restya-cli.py organization close-board -b "Board 3" -o "Organization #1"
echo
echo "Testing 'organization delete-board'..."
./restya-cli.py organization delete-board -b "Board 2" -o "Organization #1"
./restya-cli.py organization delete-board -b "Board 3" -o "Organization #1"
echo
echo "Checking..."
./restya-cli.py organization list-boards -o "Organization #1"
echo
echo "Testing 'board list-lists'..."
./restya-cli.py board list-lists -o "Organization #1" -b "Board 1"
echo
echo "Testing 'board list-lists'..."
./restya-cli.py board add-list -o "Organization #1" -b "Board 1" -l "Todo"
echo
echo "Checking..."
./restya-cli.py board list-lists -o "Organization #1" -b "Board 1"
# Clean
#./restya-cli.py organization delete-board -b "Board 1" -o "Organization #1"
#./restya-cli.py organization delete -o "Organization #1"