Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jesusnut/omu_rest-assured-framework_may23_industrygrade

:rocket: :dart: :trophy: Industry Grade API Framework : REST ASSURED, Owner Library(for properties file configuration), TestNG, OAUTH2 flow, Traditional TestNg Data Provider- Excel Data Driven, Maven, AssertJ, Lombok, Extent Report, Documentation Pending
https://github.com/jesusnut/omu_rest-assured-framework_may23_industrygrade

apachepoi assertj-assertions extent-report lombok maven oauth2 owner restassured testng

Last synced: 4 days ago
JSON representation

:rocket: :dart: :trophy: Industry Grade API Framework : REST ASSURED, Owner Library(for properties file configuration), TestNG, OAUTH2 flow, Traditional TestNg Data Provider- Excel Data Driven, Maven, AssertJ, Lombok, Extent Report, Documentation Pending

Awesome Lists containing this project

README

        

This Framework uses Oauth2 authentication of Spotify Web API.
---------------------------------------------------------------

Pre-requisite:
---------------------------------------------------------------

Please replace the following fields (with your own data) in : ${PROJECT_ROOT}\src\test\resources\config\FrameworkConfig.properties

a. client_id
b. client_secret
c. grant_type
d. refresh_token
e. spotifyUserID

TEST CASES:
---------------------------------------------------------------

spotify.oauth2.tests.PlaylistTests.java containes the below Playlist API test cases automated:

1. User should be able to create a Playlist.

2. User should be able to get an already created playlist.

3. User should be able to update an already created playlist.

4. User should NOT be able to create a playlist without name.

5. User should NOT be able to create a playlist with invalid bearer token.

6. User should be able to create a new playlist &&
add a track to that playlist (fetch json payload from already stored external file) &&
store response after adding track in external file as JSON for future.

7. Create multiple playlists with data driven names and descriptions from an Excel sheet + Data Provider concept.