Re: CT custom framework leads to group mess

Peter Andersson E <[email protected]> Tue, 1 Sep 2015 10:41:14 +0200
Newsgroups gmane.comp.lang.erlang.bugs
Organization Ericsson AB
Message-ID <[email protected]>
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 | [email protected] <mailto:[email protected]>
>
>
> _______________________________________________
> erlang-bugs mailing list
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-bugs

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs