gotestyourself / gotestyourself/gotestsum

Include ginkgo test results

Open
#273 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.7k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

Hi, I have some ginkgo tests file in my project, go test command output:

go test -v ./...
 
=== RUN   TestSimple
=== RUN   TestSimple/test-1
=== RUN   TestSimple/test-2
--- PASS: TestSimple (0.00s)
    --- PASS: TestSimple/test-1 (0.00s)
    --- PASS: TestSimple/test-2 (0.00s)
=== RUN   TestGinkgo

Running Suite: test ginkgo
==========================
Random Seed: 1661393940
Will run 3 of 3 specs

•••
Ran 3 of 3 Specs in 0.000 seconds
SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestGinkgo (0.00s)
PASS

the test output include a ginkgo summary:

SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 0 Skipped

I'm wondering if gotestsum could collect these test results, thanks for any help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the go test -v ./... output shown in the issue with a project containing Ginkgo tests, then trace how gotestsum currently collects and summarizes test results. The work is done when the Ginkgo summary, including passed, failed, pending, and skipped counts, is collected consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.