I am trying to get the test metadata for a build but the json response is empty.
What am I doing wrong, maybe there is not test meta data.
I am using curl https://circleci.com/api/v1/project/:username/:project/:build_num/tests?circle-token=:token
and it returns
"tests" : [ ]
I am storing my test meta data from Codeception, so perhaps this is what the problem is. I am creating xml files from my codeception tests, and saving them in
The xml files show up in the artifacts list in the Web UI.
I have tried the the list Artifacts API call, and it works just fine, but it just shows a list of all the artifact files, not quite what I want. I can’t really use that because I need to be logged to view the files, so I’m not sure how to do that with a curl.
I suppose I need to store the test meta data some other way because it isn’t being registered properly.