[erlang-questions] It seems that eunit tests run twice, someone happens to encounter this ???
Wed Feb 11 13:22:20 CET 2015
If you have:
all_test_() -> [a_test, b_test].
a_test() -> ?assert(true).
b_test() -> ?assert(true).
Then they get run twice, once as part of the fixture, and again
because they've got names ending in '_test'.
Is this what you're seeing?
On 11 February 2015 at 06:16, 断舍离 <459673409@REDACTED> wrote:
> It seems that the eunit tests have been run twice.
> The code comes from my company's project,so i can not paste all concerned
> code here,and i just want to know that does someone once has such problems
> before?Just tell me how to fix the bug when you meet the similar
> problems,maybe i can get some guides from your suituation.
> I search the google,and find some:
> But i still can not figur out why,Please help me
> Sorry for my poor English
> Best regard!
> erlang-questions mailing list
More information about the erlang-questions