Skip to main content

Home/ Perl/ Group items tagged test

Rss Feed Group items tagged

Alberto Adrián Schiano

Udacity - Software Testing Course (CS258) - 0 views

  •  
    How to create unit tests for any program Como crear unidades de prueba para cualquier programa
Alberto Adrián Schiano

Extreme Programming - 0 views

  • Interesting to note that ExtremeProgramming has emerged as a methodology for programming; it appears to be based in trial and error programming! Without tests and refactoring, it is not workable at all. So why not design first, write tests to that design, then program, test, perform refactoring and iterate? That's exactly what ExtremeProgramming is, friend. Just do it in tiny increments. "The differences between XP and trial-and-error are basically two-fold: first, you solve each error as it comes up, so that it doesn't compound with later errors. And second, you meant to do it that way in the first place, rather than being forced to come back and deal with unforeseen complications.
  •  
    XP - complexity & simplicity - techniques - tips
Alberto Adrián Schiano

Using Expect.pm 2 managge unreliable programs - 0 views

  • here is a working example. This script shows 2 ways, one is saving the key to a file and reading it back in, the other, just hard codes the file contents into a variable. I tried a few things to avoid a temp file, but no luck. There is a Content type for the write, but it dosn't seem to work for scalar....it still writes a file.
  • Because PHP sucks: escape to Perl
  • How to Make Crypt::DSA use a your key to sign something
  • ...4 more annotations...
  • looking at a post by Sisyphus on comp.lang.perl. misc, it seems that you CAN use the numeric keys, like you tried in your original post. He showed a neat trick ( which I will have to explore further) where he reblessed the key data, and it works.
  • This node How to Make Crypt::DSA use a your key to sign something got me thinking about how to extend Crypt::DSA's potential, to make public and private keys, for signing verification. The script below, will verify 2 ways, once with scalars inside the script, and once from files. The generated sig, is actually binary, so note the base64 encoding of it, for attachment to emails, etc. I must thank sisyphus for the trick of reblessing a hash back into an object. This is the critical part of the script, where the public and private keys are generated. The docs for Crypt::DSA don't show how to separate them,( and you wouldn't want to be distributing your private key in the public PEM file. :-)
  • Note: This isn't really a Perl thing, but I'm using it for Perl scripts and it's too handy not to share
  • Expect.pm Test Program One The following test program runs the unreliable program twenty times. If the unreliable program takes longer than five seconds, the attempt to run it is terminated and the test program continues.
  •  
    Using Expect with perl - tips and references - simple examples as a starting
Alberto Adrián Schiano

APItools Docs! - 0 views

  •  
    Testing web APIs using this tool (see tutorial) Probando APIs web con esta herramienta (ver tutorial)
Alberto Adrián Schiano

Splint Manual-Security Programming Tests-Pruebas de Seguridad de Programas - 0 views

  •  
    Problems detected by Splint include: · Dereferencing a possibly null pointer (Section 2); · Using possibly undefined storage or returning storage that is not properly defined (Section 3); · Type mismatches, with greater precision and flexibility than provided by C compilers (Section 4.1-4.2); · Violations of information hiding (Section 4.3); · Memory management errors including uses of dangling references and memory leaks (Section 5); · Dangerous aliasing (Section 6); · Modifications and global variable uses that are inconsistent with specified interfaces (Section 7); · Problematic control flow such as likely infinite loops (Section 8.3.1), fall through cases or incomplete switches (Section 8.3.2), and suspicious statements (Section 8.4); · Buffer overflow vulnerabilities (Section 9); · Dangerous macro implementations or invocations (Section 11); and · Violations of customized naming conventions. (Section 12).
Alberto Adrián Schiano

Perl/Tk Debugger - ptkdb - Overview - 0 views

  •  
    A handy multiplatform perl debugger
    Practico rastreador perl multiplataforma

Alberto Adrián Schiano

Perl/Tk GUI Scripts for Automotive Test Labs - 0 views

  •  
    examples on economy of communication when choosing standard resources.
    ejemplos de economia comunicativa al elegir recursos estandar

Alberto Adrián Schiano

Wikis for Perl and Perl Beginners - 0 views

  • Central Perl Wikis perl.net.au - Wiki for Perl from Perl Australia - a MediaWiki-based Wiki from Perl Australia. See its resources for Beginners. Perl Wiki at the Wikia - a Perl wiki at Wikia, a community MediaWiki hosting service. Perl at the English Wikipedia - The wikipedia is a multi-lingual world-editable encyclopedia. The Perl Page contains links to other pages inside the wikipedia about Perl. "Programming Perl" in the wikibooks - a Book about Perl programming in the Wikibooks project. Wikis on Specialised Topics Win32 Perl Wiki - a Wiki for Perl on Microsoft Windows. The Perl QA Wiki - wiki about QA (Quality Assurance or testing) of Perl and with Perl. Local Perl Groups' Wikis Israeli Perl Mongers Wiki. Also see the wiki for the OSDC::Israel conference. Portland Perl Mongers Wiki.
Alberto Adrián Schiano

perlnow.el - emacs extensions to speed perl development - 0 views

  • perlnow.el - emacs extensions to speed perl development
  •  
    REFRESING OUR EMACS CONCEPTS: perlnow.el is a collection of utility commands for perl programmers who use emacs. These commands are designed to help automate some routine tasks in the initial creation of perl scripts and modules. Commands are also provided to assist in running, testing and debugging inside of emacs.
Alberto Adrián Schiano

Regular Expression Library - 0 views

  •  
    Learn, try, share regular expressions
    Aprender, probar, compartir expresiones regulares

  •  
    Save Bookmark
1 - 11 of 11
Showing 20 items per page