Currently all testing done for GHPM functions is via pre-saved data sets generated by retrieving and saving query results of popular github repos. In order to make the testing suite more robust, a combination of synthetic and real world tests need to be employed.
Synthetic in this case refers to pre-recorded/saved data
Real World refers to the test actually querying the API and "validating the results".
Initial steps would include:
Remove existing tests
Documentation and implementation of real world tests (what would the structure of this be?)
AnalyzIng the existing GraphQL Github Spec to investigate validation of query value types.
Currently all testing done for GHPM functions is via pre-saved data sets generated by retrieving and saving query results of popular github repos. In order to make the testing suite more robust, a combination of synthetic and real world tests need to be employed.
Synthetic in this case refers to pre-recorded/saved data Real World refers to the test actually querying the API and "validating the results".
Initial steps would include:
(WORK IN PROGRESS)