Paketname | libtest-www-declare-perl |
Beschreibung | declarative testing for your web app |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 0.02-1 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 88 Byte |
Hängt ab von | perl (>= 5.6.0-16), libtest-www-mechanize-perl, libtest-simple-perl |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 12568 Byte |
Prüfsumme MD5 | 4017061a35ef294cf8f8f226cb664942 |
Prüfsumme SHA1 | 73ebd3371d21d8f0cb21528f09382c8c7bccc63d |
Prüfsumme SHA256 | 056a943d0676a29f0566be972120fc508990d21d914d2476f3cfe10776848db5 |
Link zum Herunterladen | libtest-www-declare-perl_0.02-1_all.deb |
Ausführliche Beschreibung | Often in web apps, tests are very dependent on the state set up by previous
tests. If one test fails (e.g. "follow the link to the admin page") then it's
likely there will be many more failures. Test::WWW::Declare aims to alleviate
this problem, as well as provide a nicer interface to Test::WWW::Mechanize.
.
The central idea is that of "flow". Each flow is a sequence of commands ("fill
in this form") and assertions ("content should contain 'testuser'"). If any of
these commands or assertions fail then the flow is aborted. Only that one
failure is reported to the test harness and user. Flows may also contain other
flows. If an inner flow fails, then the outer flow fails as well.
|