1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Source: libtest-www-declare-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: AGOSTINI Yves <agostini@univ-metz.fr>,
Rene Mayorga <rmayorga@debian.org>,
gregor herrmann <gregoa@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9),
perl
Build-Depends-Indep: libhttp-server-simple-perl,
libtest-www-mechanize-perl,
perl (>= 5.21.6) | libtest-simple-perl (>= 1.001010) | libtest-tester-perl,
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtest-www-declare-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-www-declare-perl.git
Homepage: https://metacpan.org/release/Test-WWW-Declare
Package: libtest-www-declare-perl
Architecture: all
Depends: ${perl:Depends},
${misc:Depends},
libtest-www-mechanize-perl
Description: declarative testing module for web apps
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.
|