UNPKG

483 BYAMLView Raw
1name: "Simple example of failing tests"
2topic: "core/Repeat"
3fixture:
4 type: 'fbp'
5 data: |
6 # @runtime python-example
7
8 INPORT=it.IN:IN
9 OUTPORT=f.OUT:OUT
10
11 it(core/Repeat) OUT -> IN f(core/Repeat)
12
13cases:
14-
15 name: 'sending a boolean with wrong expect'
16 assertion: 'should fail'
17 inputs:
18 in: true
19 expect:
20 out:
21 equals: false
22-
23 name: 'sending a number with wrong expect'
24 assertion: 'should fail'
25 inputs:
26 in: 1000
27 expect:
28 out:
29 equals: 1003