-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Conda components harvest #568
Comments
@lisahoong Please feel free to add on the cases that you can think of. Appreciate your help! |
Following our code review discussion, I would like to suggest testing the impact of implementing caching indexes (specifically repodata.json and channeldata.json) on the service's performance. This can be done by calling the /originConda endpoint to query Conda components. This can be currently tested on service dev deployment |
Integration Test Readme can be helpful. Please also feel free to put up a PR to enhance it for others. Sample PR might be helpful for adding an integration test case. All the test components are tested in definitionTest.js and attachmentTest.js. When there are attachments in your test definition, more fixtures may need to be added and loaded for the attachmentTest.js. |
the tests have been added to clearlydefined/operations#72 and verified |
@lamarrr any update? |
I did send the memory impact of the crawler via email yesterday. |
This is to document the APIs that can be used during testing:
Verify harvest results
Verify the definition
Test to verify /origins/conda API: the following calls should succeed
|
I have tested and verified the integration tests requested in the issue. |
Exception encountered during harvest on dev deployment
|
@qtomlinson what was the purpose of replacing the directory slash with the hyphen? |
This documents the QA work that is required for the implementation of Conda component harvest:
Trigger harvest and verify that component is harvest correctly
case 1. coordinates with version specified,
case 2. latest version of component when version is not specified
related source component correctlly identified and harvested
Verify definition correctly computed:
case 1, license detected in scancode package information.
case 2 if license not detected in scancode package level, figure out license based on license files in /info directory.
Add integration test
add a test case (coordinates) in testConfig.js + fixture for Conda in operation repo
The text was updated successfully, but these errors were encountered: