blob: d68992a83716f8366f0a5fda88a2b4decf192eb0 (
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
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
<!-- -*- markdown -*- -->
Getting help
============
"A tool without documentation is no tool at all" -- Said someone at some point.
Gitano has built-in help text for all its commands. Some may be perfunctory
and some may need extra context (hence we have the wiki) but we do, at least,
have help available for them all...
SCENARIO help is given
GIVEN a standard instance
WHEN testinstance adminkey runs version
THEN the output is not empty
WHEN testinstance adminkey runs version machine
THEN the output is not empty
WHEN testinstance adminkey runs help
THEN the output is not empty
WHEN testinstance adminkey runs help admin
THEN the output is not empty
WHEN testinstance adminkey runs help all
THEN the output is not empty
WHEN testinstance adminkey runs help help
THEN the output is not empty
WHEN testinstance adminkey runs help as
THEN the output is not empty
WHEN testinstance adminkey runs help config
THEN the output is not empty
WHEN testinstance adminkey runs help copy
THEN the output is not empty
WHEN testinstance adminkey runs help count-objects
THEN the output is not empty
WHEN testinstance adminkey runs help create
THEN the output is not empty
WHEN testinstance adminkey runs help destroy
THEN the output is not empty
WHEN testinstance adminkey runs help fsck
THEN the output is not empty
WHEN testinstance adminkey runs help gc
THEN the output is not empty
WHEN testinstance adminkey runs help git-receive-pack
THEN the output is not empty
WHEN testinstance adminkey runs help git-upload-pack
THEN the output is not empty
WHEN testinstance adminkey runs help graveyard
THEN the output is not empty
WHEN testinstance adminkey runs help group
THEN the output is not empty
WHEN testinstance adminkey runs help keyring
THEN the output is not empty
WHEN testinstance adminkey runs help ls
THEN the output is not empty
WHEN testinstance adminkey runs help passwd
THEN the output is not empty
WHEN testinstance adminkey runs help rename
THEN the output is not empty
WHEN testinstance adminkey runs help sshkey
THEN the output is not empty
WHEN testinstance adminkey runs help user
THEN the output is not empty
WHEN testinstance adminkey runs help whoami
THEN the output is not empty
Even the plugins can define commands, so lets check they produce help too..
WHEN testinstance adminkey runs help rsync
THEN the output is not empty
WHEN testinstance adminkey runs help demo
THEN the output is not empty
WHEN testinstance adminkey runs help git-upload-archive
THEN the output is not empty
WHEN testinstance adminkey runs help git-annex-shell
THEN the output is not empty
FINALLY the instance is torn down
|