• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nunnatsa / ginkgolinter / 8325044545
88%

Build:
DEFAULT BRANCH: main
Ran 18 Mar 2024 10:32AM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Mar 2024 10:30AM UTC coverage: 63.95% (-3.2%) from 67.11%
8325044545

push

github

nunnatsa
New Rule: Avoid spec Pollution

Does not allow variable assignments in container nodes. See here for
more details: https://onsi.github.io/ginkgo/#avoid-spec-pollution-dont-initialize-variables-in-container-nodes

This rule is disabled by default. use the `--forbid-spec-pollution=true`
flag to enable it.

For example, this code will trigger a warning:
```go
var _ = Describe("description", func(){
    var x = 10
    ...
})
```

Instead, use `BeforeEach()`; e.g.
```go
var _ = Describe("description", func (){
    var x int

    BeforeEach(func (){
        x = 10
    })
    ...
})
```

2 of 22 new or added lines in 3 files covered. (9.09%)

1 existing line in 1 file now uncovered.

204 of 319 relevant lines covered (63.95%)

6.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8325044545.1 18 Mar 2024 10:32AM UTC 0
63.95
GitHub Action Run
Source Files on build 8325044545
Detailed source file information is not available for this build.
  • Back to Repo
  • 8b053db7 on github
  • Prev Build on main (#8321952766)
  • Next Build on main (#8325253645)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc