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

go-fuego / fuego
91%
main: 76%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/documentation/all-b2f5152fe3
DEFAULT BRANCH: main
Repo Added 03 Jan 2024 10:16PM UTC
Files 43
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 feature/mock-context-for-testing
branch: feature/mock-context-for-testing
CHANGE BRANCH
x
Reset
  • feature/mock-context-for-testing
  • AddResponse
  • BREAKING/ParamOption
  • BREAKING/engine.WithRequestContentType
  • BREAKING/engine.WithRequestContentType.fix
  • Engine.WithErrorHandler
  • Engine.WithErrorHandler.2
  • ErrorWithDetail
  • HandleHTTPError
  • OpenAPIRoutes
  • OpenAPIServable
  • RequestContentType2
  • ServerOption
  • StripSlashes
  • TestFlow
  • add-config-parameter-for-middleware-display-limit
  • add-global-response
  • add-openapi-gen-options
  • add-unconvert
  • always-log-errors
  • array-of-params-deserialization
  • better-security-errors
  • chore/TestServer_Run
  • chore/bump-deps
  • chore/bump-deps-jwt
  • chore/bump-go
  • chore/bump-golangci-lint
  • chore/ci-lint-version
  • chore/default-logging-middleware
  • chore/gin-compat-mod
  • chore/improve-test-readability
  • chore/optiondeprecated
  • chore/petstore-module
  • chore/swagger-print
  • chore/update-gin-compat
  • cli/add-service-generation
  • codeowners
  • custom_edge_cases
  • decorrelates-openapi-registration-from-server
  • default-status-code
  • dependabot
  • dependabot/github_actions/all-29fa12317d
  • dependabot/github_actions/all-2ca5089b7b
  • dependabot/github_actions/all-3c57615cb0
  • dependabot/github_actions/all-4aaa0eafdc
  • dependabot/github_actions/all-7963f46c4f
  • dependabot/github_actions/all-7aab1e99e2
  • dependabot/github_actions/all-90ae61d006
  • dependabot/github_actions/all-e4ff901bde
  • dependabot/github_actions/all-e8315f95e8
  • dependabot/go_modules/all-00c656a72f
  • dependabot/go_modules/all-05aa67008e
  • dependabot/go_modules/all-359539d8f1
  • dependabot/go_modules/all-36ce75e06c
  • dependabot/go_modules/all-bc616be421
  • dependabot/go_modules/all-ccabcf089c
  • dependabot/go_modules/all-d0326199b8
  • dependabot/go_modules/all-e7467ef4a4
  • dependabot/go_modules/all-f9040f2d49
  • dependabot/go_modules/cmd/fuego/all-24fd828ae1
  • dependabot/go_modules/cmd/fuego/all-2fd1a7c44e
  • dependabot/go_modules/cmd/fuego/all-6eb12918d1
  • dependabot/go_modules/examples/acme-tls/all-0094cd9580
  • dependabot/go_modules/examples/acme-tls/go_modules-df53ea6f3e
  • dependabot/go_modules/examples/crud-gorm/all-9ae953e371
  • dependabot/go_modules/examples/crud-gorm/all-ad9d36652c
  • dependabot/go_modules/examples/crud-gorm/all-e456870d56
  • dependabot/go_modules/examples/custom-errors/go_modules-26da501455
  • dependabot/go_modules/extra/fuegogin/go_modules-0992bab4c2
  • dependabot/go_modules/extra/fuegogin/go_modules-d3fced6277
  • dependabot/go_modules/go_modules-ac5a999316
  • dependabot/go_modules/go_modules-e9cae30dff
  • dependabot/go_modules/go_modules-fe7f98b368
  • dependabot/go_modules/middleware/basicauth/go_modules-4bbd70410f
  • dependabot/go_modules/middleware/basicauth/go_modules-bbb8b02913
  • dependabot/go_modules/testing-from-outside/go_modules-5a9c29dde4
  • dependabot/go_modules/testing-from-outside/go_modules-ec2a4f6636
  • dependabot/npm_and_yarn/documentation/all-18f3df20cd
  • dependabot/npm_and_yarn/documentation/all-61e40ddca6
  • dependabot/npm_and_yarn/documentation/all-736e386659
  • dependabot/npm_and_yarn/documentation/all-a966e794b9
  • dependabot/npm_and_yarn/documentation/all-b2f5152fe3
  • dependabot/npm_and_yarn/documentation/all-b53c2cb62b
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-3844490d49
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-46be7da7dc
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-69a2d93d2d
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-6ea9762674
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-7064c9a8ac
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-92ee62b421
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-96c788614a
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-a274ede39d
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-d56b2ef021
  • dependabot/npm_and_yarn/documentation/npm_and_yarn-e92fccf0d2
  • dependabot/npm_and_yarn/examples/full-app-gourmet/all-200b40b324
  • dependabot/npm_and_yarn/examples/full-app-gourmet/all-71e1db96d4
  • dependabot/npm_and_yarn/examples/full-app-gourmet/all-b7d7554085
  • discord
  • doc-format
  • doc/fixes
  • echo-default-status-code
  • echo/OpenAPIHandler
  • edge_case
  • engine
  • example-boolean
  • feat/#issue284
  • feat/OptionRequestBody
  • feat/add-engine-disable-error-handler-option
  • feat/allow-multiple-global-middlewares
  • feat/continuous-benchmark
  • feat/enhance-global-response-type
  • feat/fuegoecho-alpha
  • feat/global-response-types
  • feat/openapiInfo
  • feat/option_request_body
  • feature/integration-tests-basic
  • feature/openapi-generate-using-tools-pattern
  • feature/sql-sqlite-error-mapping
  • fix-generic-return-type
  • fix-nested-routes-middleware
  • fix-openapi-spec-docs
  • fix/SendYAMLError
  • fix/defaultstatuscode
  • fix/disable-messages
  • fix/echo-adaptor
  • fix/nested_tags
  • fix/paramerrs
  • fix/structtaglogging
  • fix/validator-panic
  • fixing-time-format
  • flush-panic
  • generic-main-handler
  • generic-route-registration
  • gin-compat
  • gin-default-status-code
  • gin-path-param-fix
  • gin_adaptor_allow_wrappers_with_group
  • gin_adaptor_middlewares
  • global-middlewares
  • go-1.24
  • go-version-file
  • golangci-lint-v2-formatting
  • golangci-lint-v2-heysujal
  • golangci-party
  • integration-test
  • main
  • marshalspec
  • memory-alignment
  • moves-sql-package-to-their-own-modules
  • no-auto-empty-groups
  • not-acceptable
  • number-anno
  • option-with-description
  • optionshow
  • patch-1
  • path-param-int
  • path-parsing
  • perf/disable-route-registation
  • receive-slices-when-deserializing
  • refactor-and-document-route-object
  • refactor-register-controller
  • refactor/OutputOpenAPISpec
  • refactor/pathparam
  • refactor/set-openapi-serverURL
  • refactor/set-openapi-serverURL-2
  • refactor/use-fuego-errors-for-path-param-errors
  • refactored-context
  • remove-duplicate-goup-tags
  • remove-hardcoded-accept-header
  • remove-unused-generator-field
  • remove-zuplo-sponsorship
  • require-go-1.23
  • response-header
  • retract/v1
  • rm/WithPort
  • route-holds-openapi-instead-of-server
  • security-policy
  • separate-auto-response-declaration-and-response-body
  • serdes
  • set-status-code-before-return
  • share-context-gin-nethttp
  • silence-unexported-fields-warning
  • simpler-default-logger
  • slogctx
  • strongly-typed-parameters
  • strongly-typed-parameters-implementation
  • strongly_typed_params
  • support-http-responsewriter-options
  • transform-and-validate-gin
  • typed-params-in-context
  • unify-http-errors
  • unused
  • unused-code
  • use-router-interface-in-echo-package
  • workflow-perms
  • wrap-errors
  • xml-tags

01 Feb 2025 08:50AM UTC coverage: 91.41% (-2.5%) from 93.882%
13087049419

Pull #351

github

EwenQuim
Removed the available fields and methods section from the testing guide

It's not necessary to have the available fields and methods section in the testing guide, as it's already documented in the codebase & the godoc reference.
Pull Request #351: feat: add framework-agnostic mock context for testing

42 of 108 new or added lines in 1 file covered. (38.89%)

51 existing lines in 3 files now uncovered.

2437 of 2666 relevant lines covered (91.41%)

1.04 hits per line

Relevant lines Covered
Build:
Build:
2666 RELEVANT LINES 2437 COVERED LINES
1.04 HITS PER LINE
Source Files on feature/mock-context-for-testing
  • Tree
  • List 31
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
13087049419 feature/mock-context-for-testing Removed the available fields and methods section from the testing guide It's not necessary to have the available fields and methods section in the testing guide, as it's already documented in the codebase & the godoc reference. Pull #351 01 Feb 2025 08:52AM UTC EwenQuim github
91.41
13076688986 feature/mock-context-for-testing Adds `NewMockContextNoBody` to create a new MockContext suitable for a request & controller with no body Changed WithXxx to SetXxx for query parameters. Removed the ...option pattern for declaring query parameters in the MockContext. Pull #351 31 Jan 2025 04:25PM UTC EwenQuim github
91.41
13075266990 feature/mock-context-for-testing Linting Pull #351 31 Jan 2025 03:02PM UTC EwenQuim github
90.92
13074492319 feature/mock-context-for-testing Removed unused comment Pull #351 31 Jan 2025 02:32PM UTC EwenQuim github
90.92
12835015008 feature/mock-context-for-testing feat(mock): Add helper methods for setting query params with OpenAPI validation Pull #351 20 Jan 2025 04:51PM UTC olisaagbafor github
91.23
12786523471 feature/mock-context-for-testing Use internal.CommonContext to provide most functions in MockContext Pull #351 15 Jan 2025 10:37AM UTC EwenQuim github
91.16
12786058140 feature/mock-context-for-testing Merge branch 'main' into pr/olisaagbafor/351 Pull #351 15 Jan 2025 10:12AM UTC EwenQuim github
89.61
12755221789 feature/mock-context-for-testing feat(test): add realistic mock context example Replace basic getter/setter tests with a real-world example: - Add UserController with Create and GetByID endpoints - Add UserService with mock implementation - Show proper separation of concerns - D... Pull #351 13 Jan 2025 11:00PM UTC olisaagbafor github
88.78
See All Builds (1236)
  • 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