UNPKG

fbp-spec

Version:

Data-driven FBP component/graph testing tool

30 lines (26 loc) 483 B
name: "Simple example of failing tests" topic: "core/Repeat" fixture: type: 'fbp' data: | # @runtime python-example INPORT=it.IN:IN OUTPORT=f.OUT:OUT it(core/Repeat) OUT -> IN f(core/Repeat) cases: - name: 'sending a boolean with wrong expect' assertion: 'should fail' inputs: in: true expect: out: equals: false - name: 'sending a number with wrong expect' assertion: 'should fail' inputs: in: 1000 expect: out: equals: 1003