Re: [webmin-devel] module development and testing
"PEOPLES, MICHAEL P" <[email protected]> Fri, 11 Oct 2013 15:23:19 +0000
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <B49D6855C20D22429FFD34954457A0141493C375@MISOUT7MSGUSR9F.ITServices.sbc.com> |
--===============6243093037545081838== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_B49D6855C20D22429FFD34954457A0141493C375MISOUT7MSGUSR9F_" --_000_B49D6855C20D22429FFD34954457A0141493C375MISOUT7MSGUSR9F_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm no expert, but given that this written in Perl, I'd look to that toolin= g for testing procedures. Michael Peoples (mp4783) iGEMS COE, Deployment, Engineering, Application Support and Security Global Service Assurance, M5 AT&T Business Solutions Office: +1 614-886-0923 Mobile: +1 614-886-0923 Senior Systems Manager [email protected]<mailto:[email protected]> This e-mail and any files transmitted with it are AT&T property, are confid= ential, and are intended solely for the use of the individual or entity to = whom this email is addressed. If you are not one of the named recipient(s) = or otherwise have reason to believe that you have received this message in = error, please notify the sender and delete this message immediately from yo= ur computer. Any other use, retention, dissemination, forwarding, printing,= or copying of this e-mail is strictly prohibited." From: Chris Cooper [mailto:[email protected]] Sent: Friday, October 11, 2013 10:28 To: [email protected] Subject: [webmin-devel] module development and testing Hi, We're currently looking into writing a webmin module for configuring a prop= rietary application on our appliance platform (currently targeting Turnkey = Linux which includes webmin by default). I have found the development wiki which has all kinds of useful information= , but I can find nothing on testing. I am interested in how we can unit test (if that is even possible) our modu= le. What are the testing best practices? Is there a test harness we can mak= e use of? Thanks --_000_B49D6855C20D22429FFD34954457A0141493C375MISOUT7MSGUSR9F_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Courier New"; color:#0707B9;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9">I’m no expert, but given that this written in Perl, I&#= 8217;d look to that tooling for testing procedures.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Michael Peoples (mp4783)<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">iGEMS COE, Deployment, Engineering, Application Support and Secu= rity<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Global Service Assurance, M5<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">AT&T Business Solutions<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Office: +1 614-886-0923<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Mobile: +1 614-886-0923<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:blue">Senior Systems Manager<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co= urier New";color:blue"><a href=3D"mailto:[email protected]"><span style= =3D"font-size:12.0pt;color:blue">[email protected]</span></a></span><span st= yle=3D"font-size:11.0pt;font-family:"Courier New";color:#0707B9">= <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#0707B9"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><i><span style=3D"font-size:10.0pt;font-family:"= ;Arial","sans-serif";color:black">This e-mail and any files = transmitted with it are AT&T property, are confidential, and are intend= ed solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherw= ise have reason to believe that you have received this message in error, pl= ease notify the sender and delete this message immediately from your comput= er. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.&qu= ot;</span></i><span style=3D"font-size:11.0pt;font-family:"Calibri&quo= t;,"sans-serif";color:blue"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-family:"Courier New";c= olor:#0707B9"><o:p> </o:p></span></p> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in"> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"= ;Tahoma","sans-serif"">From:</span></b><span style=3D"font-s= ize:10.0pt;font-family:"Tahoma","sans-serif""> Chris Co= oper [mailto:[email protected]] <br> <b>Sent:</b> Friday, October 11, 2013 10:28<br> <b>To:</b> [email protected]<br> <b>Subject:</b> [webmin-devel] module development and testing<o:p></o:p></s= pan></p> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <div> <p class=3D"MsoNormal">Hi,<o:p></o:p></p> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <p class=3D"MsoNormal">We're currently looking into writing a webmin module= for configuring a proprietary application on our appliance platform (curre= ntly targeting Turnkey Linux which includes webmin by default).<o:p></o:p><= /p> </div> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <p class=3D"MsoNormal">I have found the development wiki which has all kind= s of useful information, but I can find nothing on testing.<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <p class=3D"MsoNormal">I am interested in how we can unit test (if that is = even possible) our module. What are the testing best practices? Is there a = test harness we can make use of?<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <p class=3D"MsoNormal">Thanks<o:p></o:p></p> </div> </div> </div> </body> </html> --_000_B49D6855C20D22429FFD34954457A0141493C375MISOUT7MSGUSR9F_-- --===============6243093037545081838== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk --===============6243093037545081838== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline - Forwarded by the Webmin development list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-devel --===============6243093037545081838==--