Test :: Databaserow.

Test del database semplice
Scarica ora

Test :: Databaserow. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Nome editore:
  • Mark Fowler
  • Sito web dell'editore:
  • http://search.cpan.org/~markf/

Test :: Databaserow. Tag


Test :: Databaserow. Descrizione

Semplici test del database Test :: Databaserow è un semplice modulo Perl per fare test rapidi molto semplici su un database, progettato principalmente per verificare se una riga esiste con i dettagli corretti in una tabella o meno. Per test più avanzati (join, ecc.) Probabilmente è più facile per te rottare i tuoi test a mano che utilizzare questo modulo.Synopsis Utilizzo Test :: Altri test => 3; Usa Test :: Databaserow; # Imposta il test del database predefinito Test locale $ Test :: Databaserow :: DBH = $ DBH; # Test basato su SQL Row_OK (SQL => "Seleziona * dai contatti in cui CID = '123'", TEST => , Etichetta => "Contatti Il nome di 123 è Trelane"); # Test con scorciatoie Row_OK (Tabella => "Contatti", dove => , Test => , Etichetta => "Contatti Il nome di 123 è Trelane"); # Test complesso Row_OK (Tabella => "Contatti", dove => {'=' => {name => "Trelane"}, 'come' => {url => '% shortplanks.com'},}, test => {'==' => {cid => 123, num => 134}, 'eq' => {persona => "mark fowler"}, '= ~' => {road => qr / liverpool r .?.? D /},}, etichetta => "Trelane inserita in contatti okay"); Requisiti: · Perl.


Test :: Databaserow. Software correlato