Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libtest-www-declare-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libtest-www-declare-perl  ]

套件: libtest-www-declare-perl (0.02-4)

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.

其他與 libtest-www-declare-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libtest-www-declare-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11.6 kB40 kB [文件列表]