-
-
Notifications
You must be signed in to change notification settings - Fork 211
Need unit and ci test #58
Comments
Hi @PeterDaveHello I want to take this. I want to write the unit test of
If you have any suggestions, please let me know. Thank you. |
This is not what we call "unit test", which should test from the small functions, http status is not in this part actually. |
I was thought that user may try any strange library name which not includes in CDNJS. If this project does not need test status code, how about test functions as the followings?
If this is OK, I will test the library in CDNJS, the library name not in CDNJS, empty string, null, special characters...etc. If you have any suggestions, please let me know. |
@sufuf3 I think you should figure out what a unit test it. |
@PeterDaveHello I will try to do as the following steps:
The test cases for libraryGitRepoList(library), librarylicensesList(library), libraryAssetsList(library, version), GitHubMetaInfo(library), libraryResponse(req, res) as the followings:
If it's OK above, I will write the above test cases. |
Going to keep this open as we still need to implement this. |
Feel free to open a new issue for it, as I was removed from the organization without any discussion and respect, just like some other members(I know it's not by you and you're not the one who's in charge for that), I'm now closing ancient issues I'm not working on so that I don't need to receive unnecessary notifications, thanks. |
There is an unsubscribe button that you can use on issues to no longer receive notifications. I would appreciate it if you left these open so we have the original history of the issue in the active issue. |
You can refer to this issue for the history, anyway I'll left this opened. |
The text was updated successfully, but these errors were encountered: