Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moodle.csv and resume.txt/.json files are being overwritten #35

Closed
fvarrui opened this issue Oct 1, 2020 · 2 comments
Closed

moodle.csv and resume.txt/.json files are being overwritten #35

fvarrui opened this issue Oct 1, 2020 · 2 comments

Comments

@fvarrui
Copy link
Member

fvarrui commented Oct 1, 2020

Each execution of teuton overwrites the moodle.csv and resume.txt/.json files, so if successive executions are carried out (skipping test cases) previous results are lost.

A possible solution would be to include the date and time of creation of those file as part of their names in (format yyyyMMddHHmmss), for example:

moodle-20201001162700.csv
resume-20201001162700.txt
resume-20201001162700.json

If they were generated on 1st october 2020 at 16:27:00.

@dvarrui
Copy link
Member

dvarrui commented Oct 4, 2020

https://github.com/teuton-software/teuton/blob/master/docs/dsl/execution/export.md

Example:
start
show
export :preserve => true
end

Setting ":preserve => true", will save every output files into timestamp directory.

@dvarrui dvarrui closed this as completed Oct 4, 2020
@fvarrui
Copy link
Member Author

fvarrui commented Oct 4, 2020

Great! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants