-
Notifications
You must be signed in to change notification settings - Fork 4
TestScript OncePerType
Bill Majurski edited this page Dec 13, 2019
·
3 revisions
Testscript Extension
- used inside assert
- assert.sourceId references a Bundle
- assert.extension[oncePerType].value is the name of a Resource type (DocumentReference for example)
Assert is evaluate against each Resource in the Bundle of the specified type. The first matching Resource that does not pass the test will return failure and not check the later Resources. This is because TestReport is expected to have the same structure as TestScript so only a single error can be returned.