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

Running unit test on your local machine (macOS) clears ~/Documents/ folder #91

Open
Roudique opened this issue Sep 21, 2021 · 0 comments

Comments

@Roudique
Copy link

I foolishly ran unit tests on my local machine without looking at the code first :\ I even agreed to give permissions to access/edit files in my Documents folder.
Little did I know, later on everything in my ~/Documents folder was completely erased off of my hard drive, it went straight into the void past the bin.

Luckily I was able to restore all deleted files using iCloud. But there might be other people who do the same mistake.
It would be a very good idea to put some kind of dummy protection in place for unit tests like this.

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

No branches or pull requests

2 participants