[erlang-bugs] CT custom framework leads to group mess

Peter Andersson E peppe@REDACTED
Tue Sep 1 10:41:14 CEST 2015


Hi Danil,

We don't recommend you use a Test Server framework module to get access 
to more data, but use the Common Test Hooks feature instead. You get the 
same (even better) support for what you want to achieve that way.

Best,
Peter

Ericsson AB, Erlang/OTP

On 08/31/2015 10:53 PM, Danil Zagoskin wrote:
> Hello!
>
> Recently I needed a more verbose error reports in common_test log. 
> Reading the code I found an option to specify a TEST_SERVER_FRAMEWORK 
> environment variable (and it's even documented here: 
> http://www1.erlang.org/documentation/doc-5.8/lib/test_server-3.4/doc/html/write_framework_chapter.html 
> ).
> I implemented a simple proxy module, and my ct_run started to fail in 
> a very strange way — it looks for a group from one suite with another 
> suite's group/1 function.
>
> I created a minimal set of files to reproduce the bug: 
> https://github.com/stolen/ct_custom_fw_bug
>
> Am I doing something wrong with this custom framework?
>
> -- 
> Danil Zagoskin | z@REDACTED <mailto:z@REDACTED>
>
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150901/ef4aff2e/attachment.htm>


More information about the erlang-bugs mailing list