<div dir="ltr">In my suite<div><br><div>When the test focuses on returned data (green path) then the data presence simply being asserted by the suite. Any errors encountered during the test run resolve in the test failing to finish, outputting the failed assertion.</div><div><br></div><div>When the test focuses on an error being thrown by the library, the part of the code that is supposed to throw is wrapped in a try / catch, with an ensuring throw right after the statement that is expected to throw in the first place, ensuring there's always an error thrown. In the catch block i assert the error being thrown to be the expected one together with it's message. Should the expected exception not happen, the ensuring one will and the assertion for expected message fails.</div><div><br></div><div>Trying to understand the screenshots that you have in mind, are you expecting a screenshot from a user-agent? Or a console log outputting the expected data/error, or something completely different?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Best,<br><b>Filip Skokan</b></div></div>
<br><div class="gmail_quote">On Thu, Dec 8, 2016 at 7:27 PM, Mike Jones <span dir="ltr"><<a href="mailto:Michael.Jones@microsoft.com" target="_blank">Michael.Jones@microsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'd like to know more about how your test harness code verifies the invariants and logs that they were met. The main thing that the screen shots are trying to achieve are transparency - that anyone can verify that your implementation got it right. If there's another way of achieving that transparency, I'm sure that the working group would entertain it. Hopefully this would be easier than having to have third parties read your test harness code.<br>
<br>
If we can simplify things for developers while maintaining transparency, I'm all for it.<br>
<br>
Your thoughts?<br>
<span class="HOEnZb"><font color="#888888"> -- Mike<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: Openid-specs-ab [mailto:<a href="mailto:openid-specs-ab-bounces@lists.openid.net">openid-specs-ab-<wbr>bounces@lists.openid.net</a>] On Behalf Of Roland Hedberg via Openid-specs-ab<br>
Sent: Thursday, December 8, 2016 8:06 AM<br>
To: Filip <<a href="mailto:panva.ip@gmail.com">panva.ip@gmail.com</a>><br>
Cc: <a href="mailto:openid-specs-ab@lists.openid.net">openid-specs-ab@lists.openid.<wbr>net</a><br>
Subject: Re: [Openid-specs-ab] RP Certification has launched to Pilot Phase<br>
<br>
<br>
> 8 dec. 2016 kl. 13:48 skrev Filip via Openid-specs-ab <<a href="mailto:openid-specs-ab@lists.openid.net">openid-specs-ab@lists.openid.<wbr>net</a>>:<br>
><br>
> Hello Mike, everyone,<br>
><br>
> in case of a library, rather than a deployment being tested, the interface provided by Roland is excellent for writing a suite like so that executes one test after the other in a ”spec” like manner, without any browser involvement, seeing how it is expected to submit image proofs of thrown errors is the described testing not eligible for certification submission?<br>
<br>
I have a similar suite as Filip for running tests on my library against the test tool and I think Hans might also.<br>
So, that is definitely a reasonable, if not even the preferred, use case.<br>
<br>
> Of course it is entirely possible to rewrite the test suite to use a browser and capture the results there instead, but i think providing the codebase used for executing the tests and it's output where the executed assertions for each test are clearly marked could serve as proof as well.<br>
><br>
> What do you think?<br>
><br>
> Best,<br>
> Filip Skokan<br>
><br>
> On Thu, Dec 8, 2016 at 12:17 PM, Mike Jones via Openid-specs-ab <<a href="mailto:openid-specs-ab@lists.openid.net">openid-specs-ab@lists.openid.<wbr>net</a>> wrote:<br>
> There are now complete RP certification submission instructions at <a href="http://openid.net/certification/rp_submission/" rel="noreferrer" target="_blank">http://openid.net/<wbr>certification/rp_submission/</a> and updated example submissions showing RP certifications referenced from it at <a href="http://openid.net/wordpress-content/uploads/2016/12/Certification-Submission-Examples.pdf" rel="noreferrer" target="_blank">http://openid.net/wordpress-<wbr>content/uploads/2016/12/<wbr>Certification-Submission-<wbr>Examples.pdf</a>. This means that we’re ready to accept real RP certification submissions!<br>
><br>
><br>
><br>
> Hans, Edmund, Filip, Rich (and of course Roland) – you’ve been actively testing. I encourage you to now take the final step to submit actual RP certification applications (thereby testing the instructions). Please contact me (and possibly also Roland) if you have any questions about the instructions or suggestions on how to make them better. All other members are likewise encouraged to likewise participate in the pilot phase, during which RP certifications are free.<br>
><br>
><br>
><br>
> A huge thanks to Roland and the early testers for getting us to this point – especially Hans and Edmund!<br>
><br>
><br>
><br>
> We’ll talk about this progress and related items on the Connect working group call in 3.75 hours…<br>
><br>
><br>
><br>
> -- Mike<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Openid-specs-ab mailing list<br>
> <a href="mailto:Openid-specs-ab@lists.openid.net">Openid-specs-ab@lists.openid.<wbr>net</a><br>
> <a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab" rel="noreferrer" target="_blank">http://lists.openid.net/<wbr>mailman/listinfo/openid-specs-<wbr>ab</a><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Openid-specs-ab mailing list<br>
> <a href="mailto:Openid-specs-ab@lists.openid.net">Openid-specs-ab@lists.openid.<wbr>net</a><br>
> <a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab" rel="noreferrer" target="_blank">http://lists.openid.net/<wbr>mailman/listinfo/openid-specs-<wbr>ab</a><br>
<br>
-- Roland<br>
"Education is the path from cocky ignorance to miserable uncertainty.” - Mark Twain<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Openid-specs-ab mailing list<br>
<a href="mailto:Openid-specs-ab@lists.openid.net">Openid-specs-ab@lists.openid.<wbr>net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab" rel="noreferrer" target="_blank">http://lists.openid.net/<wbr>mailman/listinfo/openid-specs-<wbr>ab</a><br>
</div></div></blockquote></div><br></div></div></div>