Wenjuan,

A README for the overview of your design would help reviewers to understand
the huge chunk of code.


On Thu, Nov 17, 2016 at 12:33 PM <dong.wenj...@zte.com.cn> wrote:

>
> Hi All,
>
> I agree that we should discuess more about how to refactor the test script
> to let it become more modular, readable and maintainable.
> The programming languages is the first step.
>
>
> I propsed a framwork about the refactor the test script[1].
> This is my init ideal, any comments are welcome. :)
>
> [1]*https://github.com/openzero-zte/doctor_test_refactor
> <https://github.com/openzero-zte/doctor_test_refactor>*
>
> BR.
> dwl
>
>
>
>
> *Yujun Zhang <zhangyujun+...@gmail.com <zhangyujun%2b...@gmail.com>>*
> 发件人:  opnfv-tech-discuss-boun...@lists.opnfv.org
>
> 2016-11-17 09:48
>
> 收件人
> TECH-DISCUSS OPNFV <opnfv-tech-discuss@lists.opnfv.org>
>
> 抄送
> 主题
> [opnfv-tech-discuss] [doctor] question on code refactoring task
>  (DOCTOR-71)
>
>
>
>
> Hi, doctors,
>
> Carlos has started code refactoring of the test script[1]. It looks good
> to separate common function and installer specific function into different
> modules and improve the readability of main script.[2][3]
>
> I just have some concerns about the future complexibility of this test
> script. We are going to handle a multidimensional matrix of test condition,
> i.e. N installers * M inspectors * K notifiers * ... I'm not sure shell
> script can handle it well and provide a user friendly way for debugging,
> profiling[4] and reporting.
>
> No intention to start another war between programming languages. But this
> is something we need to consider before going deep in code refactoring.
>
> [1]: *https://jira.opnfv.org/browse/DOCTOR-71*
> <https://jira.opnfv.org/browse/DOCTOR-71>
> [2]: *https://gerrit.opnfv.org/gerrit/#/c/24395/*
> <https://gerrit.opnfv.org/gerrit/#/c/24395/>
> [3]: *https://gerrit.opnfv.org/gerrit/#/c/24399/*
> <https://gerrit.opnfv.org/gerrit/#/c/24399/>
> [4]: *https://jira.opnfv.org/browse/DOCTOR-72*
> <https://jira.opnfv.org/browse/DOCTOR-72>
> _______________________________________________
> opnfv-tech-discuss mailing list
> opnfv-tech-discuss@lists.opnfv.org
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
>
>
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to