I want to make some kind of test case for my websites
It automatically runs a script to recreate the test database each time abd then run the same javascript commands that a user would run normally.
The script would pretend to be a user and then analyze the finished data and expect the same result every time and if its different then it will report an error with details after the test. It will log errors during the test as well. It could be logged on a file or emailed or in a database you can look at from in the admin of the website and have the test done everyday or manually started.
My sites usually have alot that goes on and if there was something to run that tests everything or at least the hardest problems to catch then it would be worth the effort
especially when the changes I make can break something only the customers would see.
No comments:
Post a Comment