generated from Java-2025Fall/final-vibevault-template
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
|
|
{
|
||
|
|
"test_groups": {
|
||
|
|
"基础功能测试": {
|
||
|
|
"weight": 60,
|
||
|
|
"tests": {
|
||
|
|
"user_shouldBeCreatedCorrectly": 5,
|
||
|
|
"user_shouldSupportCustomRole": 5,
|
||
|
|
"playlist_shouldBeCreatedCorrectly": 5,
|
||
|
|
"song_shouldBeCreatedCorrectly": 5,
|
||
|
|
"playlistDTO_shouldStoreDataCorrectly": 5,
|
||
|
|
"playlist_addSong_shouldAddSongToPlaylist": 10,
|
||
|
|
"playlist_removeSong_shouldRemoveSongFromPlaylist": 10,
|
||
|
|
"getAllPlaylists_shouldReturnAllPlaylists": 5,
|
||
|
|
"getPlaylistById_shouldReturnCorrectPlaylist": 5,
|
||
|
|
"createPlaylist_shouldCreateNewPlaylist": 5
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"权限功能测试": {
|
||
|
|
"weight": 40,
|
||
|
|
"tests": {
|
||
|
|
"testOwnerCanModifyPlaylist": 8,
|
||
|
|
"testNonOwnerCannotModifyPlaylist": 8,
|
||
|
|
"testAdminCanModifyAnyPlaylist": 8,
|
||
|
|
"testDeletePlaylist_OwnerCanDelete": 5,
|
||
|
|
"testDeletePlaylist_NonOwnerCannotDelete": 5,
|
||
|
|
"testDeletePlaylist_AdminCanDelete": 6,
|
||
|
|
"testDeletePlaylist_PermissionCheck": 6,
|
||
|
|
"testAddSong_PermissionCheck": 6
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|