File tree Expand file tree Collapse file tree 4 files changed +63
-3
lines changed
Expand file tree Collapse file tree 4 files changed +63
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : v1
3+ kind : ConfigMap
4+ metadata :
5+ name : test-me
6+ data :
7+ special.array :
8+ - phony-service.phony:graphql
Original file line number Diff line number Diff line change 1+ ---
2+ suite : " test skip single test"
3+ templates :
4+ - templates/configmap.yaml
5+ tests :
6+ - it : " should test paradox"
7+ asserts :
8+ - equal :
9+ path : metadata.name
10+ value : test-me
11+
12+ - it : should validate camelcase function
13+ skip :
14+ reason : " This test 'validate camelcase function' is not ready yet"
15+ asserts :
16+ - equal :
17+ path : data["special.array"]
18+ value :
19+ - phony-service.phony:graphql
Original file line number Diff line number Diff line change 1+ suite : test without skip
2+ templates :
3+ - simple.yaml
4+ tests :
5+ - it : " should create Service if node is enabled"
6+ set :
7+ node :
8+ enabled : true
9+ asserts :
10+ - hasDocuments :
11+ count : 1
12+ - isKind :
13+ of : Service
Original file line number Diff line number Diff line change 1- suite : test wardend service
1+ suite : test skip suite level
22templates :
33 - simple.yaml
4- skip : true
5- # - reason: "This test is not ready yet"
4+ skip :
5+ reason : " This suite 'abkaradabra' is not ready yet"
66tests :
77 - it : " should create Service if node is enabled"
88 set :
@@ -13,3 +13,23 @@ tests:
1313 count : 1
1414 - isKind :
1515 of : Service
16+
17+ - it : " should second test"
18+ set :
19+ node :
20+ enabled : true
21+ asserts :
22+ - hasDocuments :
23+ count : 1
24+ - isKind :
25+ of : Service
26+
27+ - it : " should third test"
28+ set :
29+ node :
30+ enabled : true
31+ asserts :
32+ - hasDocuments :
33+ count : 1
34+ - isKind :
35+ of : Service
You can’t perform that action at this time.
0 commit comments