Search code examples
erlangeunitdets

Dets leaves open process when test fails with EUnit


I have been playing with EUnit, it is nice but I'm running into issue with dets, when my test failed and haven't properly closed dets, the file is still open in my shell and I cannot close it because it was created by another process(when i ran tests).

Have you ran into the same issue? Can I do try catch in EUnit efficiently ?

Thanks for any input!


Solution

  • Use Common Test. EUnit suitable for testing small function without side effects.