WebKit Testing

Test cases

#URLExpectation
1. /
/Welcome
/Welcome.py
/Examples/Welcome
/Examples/
/Examples/Welcome.py
Show /Examples/Welcome
2. /Admin/
/Admin/Main
Show admin pages
3. /Admin
Redirect to /Admin/
4. /Examples
Redirect to /Examples/
5. /Testing/Dir/File.html
Display the file
6. /Testing/Dir
/Testing/Dir/
Display the index file
7. /Welcome/
/Examples/Welcome/
Error 404: Not Found
if ExtraPathInfo is not set
8. /BadURL
/BadURL/
/Examples/BadURL
/Examples/BadURL/
/Examples/BadURL/MoreBad
/File.badext
/Examples/File.badext
Error 404: Not Found
or if ExtraPathInfo is set, then
the Examples/Welcome page
displays extra path info.
9. /Testing/Servlet/
/Testing/Servlet/Extra/Path/Info
/Testing/Servlet/Extra/Path/Info/
/Testing/Servlet/More/Info?
Error 404: Not Found
if ExtraPathInfo is not set,
otherwise the test servlet
displays extra path info.
10. /Testing/IncludeURLTest
IncludeURLTest test
11. /Testing/Dir/IncludeURLTest2
lower level IncludeURLTest test
12. /Testing/Forward1
Forward1Target
13. /Testing/Forward2
Dir/Forward2Target
14. /Testing/Dir/Forward3
Forward3Target
15. /Testing/SetCookie
Test of HTTPResponse.setCookie
16. /Testing/TestIMS
TestIMS passed

Notes

  • Test all links in all pages of all contexts (Examples, Admin, Testing, etc.), including links found in the headers and footers of the pages.
  • Test functionality of interactive pages, like CountVisits and ListBox.
  • Test each link more than once.
  • Test with multiple adapters (WebKit.cgi, OneShot.cgi, etc.).