Asked to interview a, let you write about friends punctuate function test praise! Record it

Like a friend to give you punctuate function, write test cases

 


[UI]
①, click on the action bar, pop bubble is normal, is normal to recover, whether smooth
②, whether the style is consistent with the needs of
③, when not praise, praise click [point], the style has become like
the time ④, has been praised click cancel, the style becomes not Like

 

 

 

[Function]
①, to be a friend of the circle of friends thumbs up (check Interface)
>> number +1 thumbs up, thumbs up thumbs up bar displays the specific user's nickname
>> Message Center has been praised people like to add a point message, the message body display is normal
>> mutual friend perspectives, thumbs up bar shows the user nickname
>> uncommon perspective of friends, thumbs up bar does not display the user nickname
>> click thumbs nickname bar to jump to the user information page
>> database write is normal


②, more than a friend to a circle of friends were thumbs
>> Points of praise + N. Like the human being received message center pieces of information thumbs up, the message body is displayed normal
>> Like they have through the circle of friends, N points in Zambia, there are M common friends, their message center received the M thumbs news
>> not praise himself through the circle of friends, N points in Zambia, there are M common friends, their message center does not receive the thumbs news
>> they have praise through the circle of friends, after the abolition of thumbs up he no longer receive the message center point like a message from a circle of friends that article
>> thumbs column shows N users nickname, and divided by comma, and in accordance with thumbs time descending order
>> N users all Dislike after, whether synchronous
>> database writes is normal

 

 

②, to their circle of friends thumbs up (check the interface)
number +1 >> thumbs up, they do not receive information
>> thumbs up bar displays your nickname

④, cancel thumbs
>> point number like -1, thumbs column of the user's nickname disappear, nicknames show the left
>> was praised human message center does not send a message Dislike

⑤, repeated thumbs: thumbs up -> cancel thumbs -> thumbs
>> point number +1 praise, thumbs up bar show normal user nickname, does not show the
>> Message Center will not re-send notification thumbs up

⑥, circle of friends pull down to refresh, refresh thumbs up column (Interface)


[Abnormal]
①, after a friend of a friend to punctuate Zambia, nickname change, whether the nickname column thumbs synchronization change
②, when an excessive number of thumbs up, thumbs nickname column shows the largest number, more than how to display
③, nickname containing special characters such as <, when 'and so on, whether to show abnormal
④, when weak net, repeatedly click the thumbs up button, whether the database has redis control (affairs)
⑤, the current page, circle of friends has been deleted, click [thumbs up ] or [Dislike], whether the client is reasonable feedback
⑥, weak analog network, whether it is normal thumbs up, response time
⑦, broken network, thumbs up

 

[Compatible]
①, android, ios
②, different android model, resolution, system compatible

[Pressure]
①, people praise the border point, a circle of friends to check how many thumbs up (analog interfaces), manual simulation
②, simulation Like many people at the same time point

 

 

 

Interview stuck, I feel a little bad writing, while now awake and quickly record it

Temporarily only think about that, if there are other ideas, reminding Kazakhstan

Guess you like

Origin www.cnblogs.com/shenyexiaoqingxin/p/11352263.html