So everyone is talking about writing your tests first and only then your code and to have a big test suit to make your changes safe. I did it. I was a good boy. I had nearly full test coverage of my module. I worked hours to create my tests and then
in one bad move of my fingers
and a bad hit on the enter
and they are gone.
I have just successfully deleted one of my test files.
Now I feel really lost.
and unsafe.
Never work without your version control in commit distance !