ginkgo icon indicating copy to clipboard operation
ginkgo copied to clipboard

Pending Specs was not outlined as pending when running ginkgo outline command

Open JiaYongfei opened this issue 2 years ago • 1 comments

Spec: It("should be skipped too", Pending, func() {})

Run ginkgo outline --format=json <test_suite> command

Output: { "name": "It", "text": "should be skipped too", "start": 1734, "end": 1784, "spec": true, "focused": false, "pending": false, "nodes": [] }

We can see that the pending field's value is false, which should be true

JiaYongfei avatar Mar 30 '22 04:03 JiaYongfei

hey thanks for reporting this. looks like I'll need to add decorator support to ginkgo outline - I'll try to work on that soon and publish a new release.

onsi avatar Mar 31 '22 18:03 onsi

@JiaYongfei @onsi I think we can close this one now with the merger of #1113

Dannyb48 avatar Jan 05 '23 19:01 Dannyb48

Yes!! Thanks so much @Dannyb48 - this will ship with the next release.

onsi avatar Jan 05 '23 23:01 onsi