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

source-academy / stories-backend
84%
main: 47%

Build:
Build:
LAST BUILD BRANCH: change-/groups/{groupId}/users-route
DEFAULT BRANCH: main
Repo Added 30 Jun 2023 02:52AM CUT
Token B6cpVuK5i1Jlgoy7Ohc7mUKBjl7jrfwHZ regen
Build 525 Last
Files 21
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

LAST BUILD ON BRANCH add-db-tests
branch: add-db-tests
CHANGE BRANCH
x
Reset
Sync Branches
  • add-db-tests
  • add-author-fk-non-null
  • add-basic-404-handling
  • add-delete-routes
  • add-gorm-type-aliases
  • add-group-id-to-context
  • add-migrations-check-in-ci
  • add-names-to-users
  • add-pinned-stories
  • add-postgres-to-ci
  • add-roles-to-batch-creation
  • add-stories-tests
  • add-story-group-association
  • add-user-batch-creation
  • add-user-self-route
  • add-users-tests
  • add_course_group
  • add_group_filter_to_stories
  • bump-deps
  • change-/groups/{groupId}/users-route
  • configure-cors-via-env
  • cyy-db_create
  • decouple-users
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.5.4
  • dependabot/go_modules/github.com/lestrrat-go/jwx/v2-2.0.18
  • dependabot/go_modules/github.com/lestrrat-go/jwx/v2-2.0.21
  • dependabot/go_modules/golang.org/x/crypto-0.17.0
  • deployment-docker
  • error-handling-stories
  • error-handling-users
  • finalize-deployment-setup
  • fix-cors-error
  • fix-deploy-scripts
  • fix-env-not-working
  • fix-group-id
  • fix-misc-stories-bugs
  • fix-multitenancy-system
  • fix-updating-of-stories
  • fix-user-id-context
  • go-1-21
  • grace-4
  • grace-5
  • improve-error-handling
  • inject-db-middleware
  • integrate-user-to-context
  • jwt-auth-validation
  • main
  • make-users-provider-agnostic
  • no-error-on-missing-env
  • refactor-auth
  • refactor-constants
  • refactor-db-1
  • refactor-db-scripts
  • refactor-db-test-runner
  • refactor-stories-vc
  • refactor-users-vc
  • remove-db-variable-in-users
  • rena-1
  • return-author-name-in-stories
  • setup-basic-access-control
  • setup-coveralls
  • setup-crud-permissions-check
  • setup-groups
  • setup-nullable-types
  • simplify-group-roles
  • stories-moderation
  • story-update-api-improvements
  • test-db
  • test-refactor
  • update-makefile
  • update-readme
  • validate-user-on-auth

19 Jul 2023 04:45AM CUT coverage: 84.066% (+8.2%) from 75.824%
5595105544

Pull #55

github

web-flow
Merge 32e6e94ba into e290b2cc0
Pull Request #55: Create tests for internal DB functions

153 of 182 relevant lines covered (84.07%)

0.93 hits per line

Relevant lines Covered
Build:
Build:
182 RELEVANT LINES 153 COVERED LINES
0.93 HITS PER LINE
Source Files on add-db-tests
  • Tree
  • List 9
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
46.67
internal/database/connect.go25 15 7 8 1.0
57.14
internal/database/middleware.go34 14 8 + 86 - 81.0 + 1.0
66.67
params/users/create.go20 9 6 3 1.0
66.67
params/stories/create.go20 9 6 3 1.0
86.67
model/users.go31 15 13 2 1.0
90.63
internal/config/config.go120 64 58 6 1.0
97.22
internal/config/db.go56 36 35 1 1.0
100.0
model/stories.go27 13 13 0 1.0
100.0
internal/database/errors.go18 7 7 + 70 - 71.0 + 1.0
Showing 1 to 9 of 9 entries
  • Previous
  • 1
  • Next
  • ►
    84.56
    internal/
  • ►
    92.86
    model/
  • ►
    66.67
    params/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5595105544 add-db-tests Merge 32e6e94ba into e290b2cc0 Pull #55 19 Jul 2023 04:46AM CUT web-flow github
84.07
5595105371 add-db-tests Merge branch 'main' into add-db-tests push 19 Jul 2023 04:46AM CUT web-flow github
84.07
5590411510 add-db-tests Merge 7b5e28e1a into 5b4c18d49 Pull #55 18 Jul 2023 05:15PM CUT web-flow github
77.46
5590411235 add-db-tests Fix lint errors push 18 Jul 2023 05:15PM CUT RichDom2185 github
77.46
See All Builds (507)
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc