I’m working on stuff that implemented with DETS. Right now I put config of dets filename to #{env}.exs, for separate environment. but I feel that is not the way to open/close test dbfile in test mode. Even now I am not sure about do proper close file when supervisor is down.
my issue are
- Test code that use of DETS (I use
:dets.openfile
when its process start) - Trigger DETS to properly close in any situation