weixin_39747383 2020-11-19 12:24
浏览 0

Possibility to comment out the whole test case / user keyword

Originally submitted to Google Code by juha.tyn... on 20 Sep 2010

It would be very handy if one could comment out the whole test case / user keyword by right-clicking it from the list and selecting "comment out" or something similar.

  • 写回答

7条回答 默认 最新

  • weixin_39747383 2020-11-19 12:24
    关注

    Originally submitted to Google Code by on 21 Sep 2010

    This would be nice, but unfortunately implementation is really hard. Commenting the tests would be easy, but reading the commented out test back would not. Consider, for example, the following example, that has both a commented out test and some other comments:

    Test Cases

    Comment about the first test

    First test [Documentation] not commented Keyword

    Comment about the second test

    Second test

    [Documentation] commented text

    Keyword

    Handling this kind of situation correctly would require significant changes to Robot Framework's parsing module. Compared to the benefits the changes are quite big and most likely not worth the effort in the near future.

    评论

报告相同问题?