Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I use /users/{id}/inbox/unread method to get unread items in a user's inbox. But how could I test it if I have no unread items in my inbox?

How can I get/generate unread messages for testing?

P.S. If there is no sandbox environment for such testings, then I will use your replies and comments on this question to test it ;).

share|improve this question
    
@BrockAdams, your approach will allow to test it only when I would like to test the number of unread items. What if I would like to test items content? Having 0 notifications on the site, I am not able to test it. –  LA_ Aug 20 at 6:44
    
As I said, the question was unclear. It's apparent now that you want a way to generate these messages. Edited the question. –  Brock Adams Aug 20 at 7:19
    
Stack Exchange sites allow limited sock-puppets. Create a second account and use it to test for unread messages. I suggest you also use the formatting sandbox or answers to this question as targets for the sock posts and make it clear what you are doing. Don't try to game votes or anything dicey. –  Brock Adams Aug 20 at 7:22

You must log in to answer this question.

Browse other questions tagged .