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

bare-ts / tools / 5417308081 / 1
93%
main: 93%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2023 10:28PM UTC
Files 15
Run time 0s
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

29 Jun 2023 10:27PM UTC coverage: 93.197% (-0.01%) from 93.211%
5417308081.1

push

github

Conaclos
feat: promote regular comments to doc-comments

BREAKING CHANGES: use regular comments instead

Previously, _bare-ts_ introduced a special syntax for doc-comments:

```bare
type Gender enum {
    ## Be inclusive :)
    FLUID
    MALE
    ## One is not born, but becomes a woman
    ##                  -- Simone de Beauvoir
    FEMALE
}

type Person {
    ## person's name
    name: str
    ## person's gender
    gender: optional<Gender>
}
```

This syntax is not part of the _BARE_ specification.
Thus, the syntax is not portable between _BARE__ implementations.
To avoid this issue, _bare-ts__ now uses regular comments as doc-comments.
Every comment that precedes a type definition, an enum value, or a field is a doc-comment.
The previous schema can now be written as follows:

```bare
type Gender enum {
    # Be inclusive :)
    FLUID
    MALE
    # One is not born, but becomes a woman
    #                  -- Simone de Beauvoir
    FEMALE
}

type Person {
    # person's name
    name: str
    # person's gender
    gender: optional<Gender>
}
```

839 of 920 branches covered (91.2%)

Branch coverage included in aggregate %.

2545 of 2711 relevant lines covered (93.88%)

243.83 hits per line

Source Files on job 5417308081.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 5417308081
  • a610388b on github
  • Prev Job for on main (#5400378147.1)
  • Next Job for on main (#5458724112.1)
  • 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