tracetest icon indicating copy to clipboard operation
tracetest copied to clipboard

Associate and show CI environment info with each test run when run from a tool such as Github Actions

Open kdhamric opened this issue 1 year ago • 3 comments

As a developer, I want to be able to see what pull request trigger a test run, what the commit was, etc when view test run info. Look at the GitHub - cucumber/ci-environment: Detect CI Environment from environment variables

kdhamric avatar Aug 15 '22 18:08 kdhamric

Hey @kdhamric, do you have the list of information that would be good to have in the test run?

  • latest commit
  • PR number?
  • PR url?

mathnogueira avatar Aug 24 '22 20:08 mathnogueira

@mathnogueira I do not. We were adding this as @schoren found he needed info when viewing the tests - he would be the best source to get what fields to show. Looking at https://github.com/cucumber/ci-environment, it seems it captures a json object that has a CiEnvironment structure. Can we save the entire object or do we need to pick which fields to store? If we can store the entire object, the FE team can pick what to show and we can adjust.

kdhamric avatar Aug 25 '22 00:08 kdhamric

I agree. Let's save everything available and decide what to show later. We'll probably iterate a bit on what to show, so having all info allows max flexibility

schoren avatar Aug 25 '22 00:08 schoren