Helpers for making test assertions

assert_contains

Generates a test target which fails if the file doesn't contain the string.

Depends on bash, as it creates an sh_test target.

PARAMETERS

NameDescriptionDefault Value
nametarget to createnone
actualLabel of a filenone
expecteda string which should appear in the filenone
sizethe size attribute of the test targetNone
timeoutthe timeout attribute of the test targetNone