E
E
Eugene Khrustalev2017-02-19 18:37:58
Erlang
Eugene Khrustalev, 2017-02-19 18:37:58

Where to store test resources for EUnit?

Unit tests of my Erlang application require some resource files (certificate files, text and binary data,...). These files are only needed for testing, never for the application itself.
Now I store them in the priv directory of the project and manually remove them from the release.
Specify the directory structure so that the test data for eunit is not added to the release, but is available for testing.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question