Created attachment 70170 [details] [review] Bug 19883: Add a selenium script to hit all the pages The idea here would be to catch possible hidden issues, and especially when the requested data do not exist (for instance hit circulation.pl?borrowernumber=42 without borrowernumber=42 in your DB). All these pages must not return 500. This is not ready at all for inclusion for several reasons: - Based on existing data (id=1 most of the time) - DB will be modified - Not idempotent - All pages are not covered (TODO)
Even if not included it could be useful for QA or RM Marcel and Tomas, what do you think? It could be a nice goal to see all these scripts handling non-existing data.
Nice goal on itself. Protecting the database is obviously needed. Do several scripts need basic parameters at the beginning already (not only what is filled on a form)? So the script needs to know these; could be a maintenance headache?
(In reply to Marcel de Rooy from comment #3) > Nice goal on itself. Protecting the database is obviously needed. > Do several scripts need basic parameters at the beginning already (not only > what is filled on a form)? So the script needs to know these; could be a > maintenance headache? I plan to test with GET parameters only.