Thanks! To clarify, I'm not talking about writing automated tests - just
how I might manually spot-testing that an intentional crash in the
appropriate spot (in my own local build) does indeed include annotations
that I added nearby.

Right now I'm stuck at the "how do I get the crash reporter to show up"
phase, which is maybe easy to address, but I'm also curious if this is the
right sort of thing to do in the first place vs. if there are
easier/recommended ways to preview the annotations that have been recorded.

On Tue, Mar 5, 2024, 7:09 PM Nick Alexander <[email protected]> wrote:

> Hi Daniel, others,
>
> On Tue, Mar 5, 2024 at 4:14 PM Daniel Holbert <[email protected]>
> wrote:
>
>> Thanks Gabriele -- this seems great for making crash reports more useful!
>>
>> Can you provide guidance (or link to documentation) for how to locally
>> test a newly added annotation, to be sure it's working properly?  i.e. once
>> I've added an annotation, how might I go about generating a dummy crash
>> report so that I can make sure my annotation shows up?
>>
>
> It's not particularly easy, but it's also not particularly hard, to verify
> that crashes are collected (for example,
> https://bugzilla.mozilla.org/show_bug.cgi?id=1679440) and that
> annotations are correct (e.g.,
> https://bugzilla.mozilla.org/show_bug.cgi?id=1697875).  I do recall that
> it was not worth the hassle to locate the tests next to the tested feature;
> it was much easier to put them next to the existing crash tests.
>
> I will also caution that even once the annotations are in place, it
> requires additional work to make them useful: e.g., something like
> https://bugzilla.mozilla.org/show_bug.cgi?id=1796132 is required.
>
> Hopefully others will tell me that this dance is simpler now :)
>
> Best,
> Nick
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAN_rCTkyXN5aA2buyhYBJwYzPOOEepE_Ctkxx4Wq_Ha3Hv3Raw%40mail.gmail.com.

Reply via email to