# confirm that the different args found in the file 'testify.kv' are being passed to this program # the trick here is to use -include-tests:yes|no and the file system to mark whether it happened between runs class Program var _didTest as bool is shared test _didTest = true def main is shared if not _didTest # first -include-tests:no assert not File.exists('did-test') File.writeAllText('did-test', DateTime.now.toString) assert File.exists('did-test') else # then -include-tests:yes assert File.exists('did-test') # here's the key assert. did the last run create the file? File.delete('did-test')