Announcements

Help Wizard

Step 1

NEXT STEP

Topics with Label: Testing

Labels

Forum Posts

Welcome to the Spotify for Developers board!

Welcome to the Spotify for Developers board! This forum is the place for conversations about Spotify's Web API, Web Playback SDK, Widgets, and other developer tools. Here you can ask questions about the Spotify platform, chat with other developers, a...

  • Spotify
  • Spotify
  • 22551 Views
  • 0 replies
  • 61 likes
  • Discussion
  • 22551 Views
  • 0 replies
  • 61 likes

How to unit test?

I'm making a small SDK (PHP), and I want to write some unit tests for the authorization, but also for the web api endpoints. I'm stuck at getting the authorization code, and consequentially the access & refresh tokens. I have all my secrets in my tes...

  • Newbie
  • I'm making a small SDK (PHP), and I want to write some unit tests for the authorization, but also for the web api endpoints.   I'm stuck at getting the authorization code, and consequentially ...
  • 452 Views
  • 0 replies
  • 0 likes
  • Discussion
    Testing
  • 452 Views
  • 0 replies
  • 0 likes

Superuser Contribution What happens when you play on a user that has never used any device?

Been thinking about developing an app that consumes the spotify API and I've been wondering what would happen if I attempt to play a song on an account that has no devices associated to it?Is there a way to create a faux device for testing? Make the ...

  • Newbie
  • ...here a way to create a faux device for testing? Make the account fake play songs, ie: hit play on a song, confirm aftere 15 seconds that the song is playing and that other users can sync to what that u...
  • spotifyjosh
  • Spotify
  • 426 Views
  • 1 replies
  • 0 likes
  • API request
    Testing
  • 426 Views
  • 1 replies
  • 0 likes