I am writing the output of my TestCafe to file. I was wondering if it can be a dynamic path like screenshot path.
I tried using something like the values listed here, but I think this is only for screenshots and videos.
Here is what works, but is just not dynamic:
testcafe chrome test.testcafe -r json:report.json
Here is what I would like to do:
testcafe chrome test.testcafe -r json:T:\Logs\ -p ${DATE}/${TIME}/${FIXTURE}/${TEST}/${FILE_INDEX}.json
Aucun commentaire:
Enregistrer un commentaire