<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>We’ve had several different testing articles. I do not recall if we have covered testing the framework itself - I think just apps built from Dancer2.</div><div><br></div><div>On Tue, Dec 22, 2020, at 12:05 PM, Stefan Hornburg (Racke) wrote:<br></div><blockquote type="cite" id="qt" style=""><div>On 12/22/20 2:39 PM, Jason A. Crome wrote:<br></div><div>> I’ve wanted to make a separate manual page just for the DSL for some time. This now seems like a great opportunity to<br></div><div>> make it happen.<br></div><div>> <br></div><div>> There is a doc overhaul in the works, and one of the things missing from it was an index of the DSL keywords. This will<br></div><div>> help that project along too.<br></div><div>> <br></div><div>> Great call on the test, racke. <br></div><div>> <br></div><div><br></div><div>Here we go: <a href="https://github.com/PerlDancer/Dancer2/pull/1570">https://github.com/PerlDancer/Dancer2/pull/1570</a> (Add test to check whether all DSL keywords appear in the<br></div><div>manual).<br></div><div><br></div><div>BTW: did we cover Dancer testing in the past advent calendars?<br></div><div><br></div><div>Regards<br></div><div>         Racke<br></div><div><br></div><div>> I am happy to make an issue in GitHub out of this when we wrap discussion up here. Or I can add one now and we can move<br></div><div>> the discussion there.<br></div><div>> <br></div><div>> Jason<br></div><div>> <br></div><div>> On Tue, Dec 22, 2020, at 5:08 AM, Stefan Hornburg (Racke) wrote:<br></div><div>>> On 12/22/20 10:42 AM, Gabor Szabo wrote:<br></div><div>>> > Hi,<br></div><div>>> > <br></div><div>>> > Let's separate this thread as this is a technical issue.<br></div><div>>> > <br></div><div>>> > Dancer2::Core::DSL might contain the definite list, but I , as a regular user, don't see it I don't see it in the<br></div><div>>> > documentation. My suggestion would be either to list them in the POD of Dancer2::Core::DSL or include a link to<br></div><div>>> > <a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a><br></div><div>>> <<a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a>><br></div><div>>> > <<a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a><br></div><div>>> <<a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a>>>  as that's where they are documented.<br></div><div>>> > <br></div><div>>> > Gabor<br></div><div>>><br></div><div>>> Hello Gabor,<br></div><div>>><br></div><div>>> I think we need to check which DSL keywords from Dancer2::Core::DSL are missing in the manual and add the documentation<br></div><div>>> for those items.<br></div><div>>><br></div><div>>> The check could be automated and part of the test suite.<br></div><div>>><br></div><div>>> Regards<br></div><div>>>         Racke<br></div><div>>><br></div><div>>> > <br></div><div>>> > On Mon, Dec 21, 2020 at 12:43 PM Russell Jenkins <<a href="mailto:russell.jenkins@strategicdata.com.au">russell.jenkins@strategicdata.com.au</a><br></div><div>>> <mailto:<a href="mailto:russell.jenkins@strategicdata.com.au">russell.jenkins@strategicdata.com.au</a>><br></div><div>>> > <mailto:<a href="mailto:russell.jenkins@strategicdata.com.au">russell.jenkins@strategicdata.com.au</a> <mailto:<a href="mailto:russell.jenkins@strategicdata.com.au">russell.jenkins@strategicdata.com.au</a>>>> wrote:<br></div><div>>> > <br></div><div>>> >     ps. The definite list of keywords is in Dancer2::Core::DSL.<br></div><div>>> > <br></div><div>>> > <br></div><div>>> >     On 21/12/20 5:14 pm, Gabor Szabo wrote:<br></div><div>>> >><br></div><div>>> >>     For example looking for the full list of words in the DSL:<br></div><div>>> >>     I clicked on both links saying DSL, neither of them had the list, nor a link to the manual<br></div><div>>> >>     where I findall found it:<br></div><div>>> >>     <a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a><br></div><div>>> <<a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a>><br></div><div>>> >>     <<a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a><br></div><div>>> <<a href="https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS">https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#DSL-KEYWORDS</a>>><br></div><div>>> >><br></div><div>>> >><br></div><div>>> > <br></div><div>>> > <br></div><div>>> > <br></div><div>>> > _______________________________________________<br></div><div>>> > dancer-users mailing list<br></div><div>>> > <a href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a> <mailto:<a href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a>><br></div><div>>> > <a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a> <<a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a>><br></div><div>>> > <br></div><div>>><br></div><div>>><br></div><div>>> -- <br></div><div>>> Ecommerce and Linux consulting + Perl and web application programming.<br></div><div>>> Debian and Sympa administration. Provisioning with Ansible.<br></div><div>>><br></div><div>>><br></div><div>>> _______________________________________________<br></div><div>>> dancer-users mailing list<br></div><div>>> <a href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a> <mailto:<a href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a>><br></div><div>>> <a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a> <<a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a>><br></div><div>>><br></div><div>>><br></div><div>>> *Attachments:*<br></div><div>>><br></div><div>>>   * OpenPGP_signature<br></div><div>> <br></div><div>> --<br></div><div>> Jason A. Crome / CromeDome<br></div><div>> CPAN: <a href="https://metacpan.org/author/CROMEDOME">https://metacpan.org/author/CROMEDOME</a> <<a href="https://metacpan.org/author/CROMEDOME">https://metacpan.org/author/CROMEDOME</a>><br></div><div>> GitHub: <a href="https://github.com/cromedome">https://github.com/cromedome</a> <<a href="https://github.com/cromedome">https://github.com/cromedome</a>><br></div><div>> Twitter: <a href="https://twitter.com/cromedome">https://twitter.com/cromedome</a> <<a href="https://twitter.com/cromedome">https://twitter.com/cromedome</a>><br></div><div>> Blog: <a href="https://cromedome.net">https://cromedome.net</a> <<a href="https://cromedome.net">https://cromedome.net</a>><br></div><div>> <br></div><div>> <br></div><div>> _______________________________________________<br></div><div>> dancer-users mailing list<br></div><div>> <a href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a><br></div><div>> <a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br></div><div>> <br></div><div><br></div><div><br></div><div>-- <br></div><div>Ecommerce and Linux consulting + Perl and web application programming.<br></div><div>Debian and Sympa administration. Provisioning with Ansible.<br></div><div><br></div><div><br></div><div>_______________________________________________<br></div><div>dancer-users mailing list<br></div><div><a href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a><br></div><div><a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br></div><div><br></div><div><br></div><div><b>Attachments:</b><br></div><ul><li>OpenPGP_signature<br></li></ul></blockquote><div><br></div><div id="sig108844672"><div class="signature">--<br></div><div class="signature">Jason A. Crome / CromeDome<br></div><div class="signature">CPAN: <a href="https://metacpan.org/author/CROMEDOME">https://metacpan.org/author/CROMEDOME</a><br></div><div class="signature">GitHub: <a href="https://github.com/cromedome">https://github.com/cromedome</a><br></div><div class="signature">Twitter: <a href="https://twitter.com/cromedome">https://twitter.com/cromedome</a><br></div><div class="signature">Blog: <a href="https://cromedome.net">https://cromedome.net</a><br></div></div><div><br></div></body></html>