keon94 commented on issue #4429:
URL: 
https://github.com/apache/incubator-devlake/issues/4429#issuecomment-1536544017

   @Startrekzky,
   1. The goal for now is to test the APIs only and maybe do some basic 
assertions (like on the task status of a collection). 
   2. Fake data needs to be created in the data-sources (e.g github, jira). 
We'll need to create/use team-level profiles/accounts for each of them and 
supply their credentials at runtime to the tests. Since we're not doing data 
validation though, the actual content of the data doesn't matter: It can be 
anything, like repos with a few commits and open PRs, etc.
   
   I've made this PR as a related (initial) feature for now that kind of 
demonstrates how it could look: 
https://github.com/apache/incubator-devlake/pull/5085
   
   I think we should eventually consider using actual data validation too after 
an initial rollout, but that'll require defining a testing process and 
coordination to make sure the datasource data and test expectations are in sync.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to