[Lldb-commits] [PATCH] D37923: Implement interactive command interruption
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 20 10:50:53 PDT 2017
On Wed, Sep 20, 2017 at 10:46 AM Jim Ingham <jingham at apple.com> wrote:
> Directly WRT testing. I’m not against ALSO adding gtests when you add
> some functionality. But when your change is actually adding behaviors to
> lldb, one of the things you need to ask yourself is if this is
> functionality that extension developers for lldb will benefit from. If it
> is, then adding affordances in the SB API should be considered an essential
> part of a complete implementation of the feature. And I assert from
> experience that writing tests for that feature at the SB API layer is a
> really good way to ensure that the API’s you add make sense and actually
> get at the things you intended to make available.
>
I also assert from experience that unfortunately it's also a good way to
make sure that the test doesn't get written in the first place :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170920/1b11e1a9/attachment-0001.html>
More information about the lldb-commits
mailing list