Re: Properly testing an OTP application after initialization
Max Lapshin <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAMxVRxBgO7R8=nWoZC1NuCZu=OrsiKn_i1+f1h3h_XwfD6z-bg@mail.gmail.com> |
I do not understand what fixtures are for. We test our flussonic in this manner: init_per_suite(Config) -> application:ensure_all_started(flussonic) Config. test1(_) -> .... test2(_) -> ... end_per_suite(Config) -> application:stop(flussonic), Config. Some tests are touch deep internals (we do not like it), some of them are only using external TCP connections and could be written, for example, in Python. We like them, but they are not stable.