Topic: Testing a bunch of links with cucumber
Hello all
Before I go about doing this I was wondering if anyone else had a smart way of doing this.
On my pages I have various links (for example, cancel buttons on new user pages, sidebar links, affiliates etc.)
What I would like to do is a quick test of every link which has a get request on each page. Nothing in depth, just a "did the link return an HTTP 200".
Doing a scenario for each link seems rather overkill so I am wondering if anyone has already written a step definition for something like
Given I am on the home page
When I check every link
Then they should all return 200 codes
Or something to that effect.
Last edited by RurouniJones (2010-11-24 02:06:57)