Test: Be sure to stage the test, first determine the queue success, and then test the execution of the queue is successful.
Function points:
1. Turning pages
2. Add Refinement
3. Sticky
4. Post Views (PV)
5. Post
6. Reply
7. Comments
8. Crontab Script
@20150325 ~ @201503226
Function point test for circles and posts:
Post, into the queue, mod 20 = 0, escalate the database;
Circle of posts reply, into the queue, mod 20 = 0, escalation database;
Number of posts in the circle, publish a post, into the queue, reporting the database;
Post reply, into the queue, mod 20 = 0, escalate the database;
Post views, into the queue, mod 100 = 0, reporting the database;
Posts pinned, into the queue, immediately reported to the database, F_top_time = Strtotime ("Now");
The post cancels the top, into the queue, immediately reports the database, F_top_time = 0;
Post plus essence, into the queue, immediately report the database, f_essence = 1;
Post cancellation essence, into the queue, immediately report the database, f_essence = 0;
Post response time modified, into the queue, immediately reported to the database, F_comment_time = Strtotime ("Now");
Posting field (Hnb_model_theme_cache)
1, add, delete fine (effective immediately) (database class not added) (Essencetheme, Cancelessencetheme) (into the queue successfully) (storage success)
2, add, delete top (effective immediately) (database class not added) (Toptheme, Canceltoptheme) (into the queue successfully) (storage success)
3, the number of replies (database class to be confirmed) (Incrcommentnum) (into the queue successfully) (storage success)
4, the number of views (database class to be confirmed) (Incrviewnum) (into the queue successfully) (storage success)
4, Response time modification (database class to be confirmed) (Updatecommenttime)
Be aware that:
1. New Fields added
2. Add the fields corresponding to the refernce
3. Add the corresponding fields in the database
4, the addition of corresponding functions in db
After adding 20, see if the database is updated
1. Increase the number of comments to test
$comment _num
2. Increase the number of theme tests
$theme _num
3. User Focus Number Test
$user _num
Not tested: Post paging, post reply page, post reply comment, user focus number
WEB Application Simple test scenario