Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test cases for each link in a Website?

I have a pretty basic question about test cases in the world of Website development. Does it make sense to have a separate test case for each hyperlink for all pages in a site? For e.g. my site might have 10 pages, each with approx. 10 hyperlinks in it. Should I have 100 test cases each explaining where that link should redirect me to. I just want to know what is the best approach to make sure all links are correct before going live.

like image 375
theraneman Avatar asked Nov 26 '25 22:11

theraneman


2 Answers

Well - as a matter of common sense, if you wanna be sure they work you're gonna have to smoke test them somehow - but I highly suggest you to setup some kind of automated UI testing suite for that.

Test Cases are usually defined on features, so it makes sense to associate Test Cases only to the hyper links (in your case) that represent features, if they're just redirections you'll just end up with bunch of highly ceremonious docs which will be covered in dust soon enough.

like image 121
JohnIdol Avatar answered Nov 30 '25 22:11

JohnIdol


"Test until fear turns to boredom"

Really depends on how worried you are about each link...

like image 23
Cogsy Avatar answered Nov 30 '25 20:11

Cogsy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!