[erlang-questions] erlang/otp: running tests

Mark Bucciarelli mkbucc@REDACTED
Wed Jul 20 03:16:47 CEST 2016


Hi,

While fixing a small bug in erl_tidy, I followed the TESTING.md
instructions to use the ts module.  However, when I followed the
instructions, ts:run(syntax_tools, syntax_tools_SUITE, [batch]) I found it
did not notice (or recompile) changes to the test file or erl_tidy.erl.
Initially, I stuck with the ts:run() approach, and hacked a makefile
specific to my one test.  Eventually, I ended up using ct_run in
lib/syntax_tools, as that picks up changes when it runs the tests.

How do the erlang developers work when writing tests and working on small
pieces of the code base and flipping between writing tests and writing code?

Thanks,

Mark

-- 
Blogging at markbucciarelli.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160719/9c241c6f/attachment.htm>


More information about the erlang-questions mailing list