generated from Java-2025Fall/final-vibevault-template
Add test_groups.json configuration file
This commit is contained in:
parent
83cd133001
commit
ca19008b86
32
autograde/test_groups.json
Normal file
32
autograde/test_groups.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user