Create a interface repository that will define what actions(methods) can be performed (getting one or all, creating, updating, and deleting ) for artists, genres, and songs.
Create a data repository that will use the interface repository to provide an implementation of each method.
Create a interface service to define the contract interacting with the data of artists, songs, and genres
Create a data service that will implement the interface service and uses dependency injection to obtain an instance of the interface repository for artists, songs, and genres
Conduct tests in a test file based on the different actions that can be committed for artists, songs, and genres.
Description
Write unite tests for artists, songs, and genres
Dev Notes
[ ] Unit test for artists
[ ] Unit test for songs
[ ] Unit test for genres
Create a interface repository that will define what actions(methods) can be performed (getting one or all, creating, updating, and deleting ) for artists, genres, and songs.
Create a data repository that will use the interface repository to provide an implementation of each method.
Create a interface service to define the contract interacting with the data of artists, songs, and genres
Create a data service that will implement the interface service and uses dependency injection to obtain an instance of the interface repository for artists, songs, and genres
Conduct tests in a test file based on the different actions that can be committed for artists, songs, and genres.