We recently implemented karate.callSingle, but noticed that the cache file stays in the target folder after the completion of the test(s). Is there an option to delete this file or could there be an enhancement to clear any cached files after all tests complete?
Since this cache holds authentication info, we would prefer it not be available after the completion, although some people may prefer that, so an optional field could be a possible solution. This might be rolled into the same or parallel methods that publish the reports after the end of all tests are completed.
Currently, we are adding the delete of the file to our logout script which runs afterFeature, but we have not found an option to delete the file after multiple features, if the same auth cache is used.