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

nats-io / nsc
74%
main: 74%

Build:
Build:
LAST BUILD BRANCH: reissue-accounts
DEFAULT BRANCH: main
Repo Added 26 Nov 2018 09:32PM UTC
Files 102
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 test-out
branch: test-out
CHANGE BRANCH
x
Reset
  • test-out
  • 0.0.2
  • 0.0.3
  • 0.1.0
  • 0.1.1
  • 0.1.10
  • 0.1.2
  • 0.1.3
  • 0.1.4
  • 0.1.5
  • 0.1.6
  • 0.1.7
  • 0.1.8
  • 0.1.9
  • 0.2.0
  • 0.2.1
  • 0.2.10
  • 0.2.12
  • 0.2.2
  • 0.2.4
  • 0.2.6
  • 0.3.0
  • 0.3.10
  • 0.3.12
  • 0.3.14
  • 0.3.16
  • 0.3.2
  • 0.3.4
  • 0.3.6
  • 0.3.8
  • 0.4.0
  • 652-tests
  • DisallowBearerToken
  • FIX-56
  • JMS-FixTieredLimitsValidation
  • abbrev-dir
  • abbrev-import-accountsubjects
  • activation-import-account
  • activation_hash
  • add-issue-forms
  • add-operator-name-via-url
  • add_dependabot
  • alexbozhenko-patch-1
  • all-dirs
  • allow-non-prefix-streams
  • allow-response-desc
  • allowed-account-wildcard
  • authcallout
  • auto-creds
  • bearer-token
  • brew-as-artifact
  • bruth-patch-1
  • bump-deps
  • bump-go
  • bump-jwt
  • bump_nats_cve_2025_04
  • bumps
  • check-mixed-keyring
  • ci
  • ci-upload-artifact
  • cleanup-tests
  • cli-ctx
  • cli-isolation
  • cliprompts-v2
  • cluster-traffic
  • conns
  • copyright-fmt
  • coverage
  • create_fix
  • cwd-awareness
  • default-help
  • delete-accounts
  • delete-user
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/create-github-app-token-2
  • dependabot/go_modules/github.com/briandowns/spinner-1.23.2
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.10.2
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.10.25
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.10.4
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.2
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.3
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.4
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.5
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.6
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.7
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.8
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.11.9
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.7.4
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.23
  • dependabot/go_modules/github.com/nats-io/nats.go-1.39.0
  • dependabot/go_modules/github.com/nats-io/nats.go-1.39.1
  • dependabot/go_modules/github.com/nats-io/nats.go-1.41.0
  • dependabot/go_modules/github.com/nats-io/nats.go-1.41.1
  • dependabot/go_modules/github.com/nats-io/nats.go-1.41.2
  • dependabot/go_modules/github.com/nats-io/nats.go-1.42.0
  • dependabot/go_modules/github.com/nats-io/nats.go-1.43.0
  • dependabot/go_modules/github.com/nats-io/nats.go-1.44.0
  • dependabot/go_modules/github.com/nats-io/nats.go-1.45.0
  • dependabot/go_modules/github.com/nats-io/nkeys-0.4.10
  • dependabot/go_modules/github.com/nats-io/nkeys-0.4.6
  • dependabot/go_modules/github.com/spf13/cobra-1.9.1
  • dependabot/go_modules/github.com/spf13/pflag-1.0.6
  • dependabot/go_modules/github.com/spf13/pflag-1.0.7
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/ulikunitz/xz-0.5.14
  • dependabot/go_modules/golang.org/x/crypto-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • dependabot/go_modules/golang.org/x/net-0.7.0
  • dependabot/go_modules/golang.org/x/text-0.22.0
  • dependabot/go_modules/golang.org/x/text-0.24.0
  • dependabot/go_modules/golang.org/x/text-0.25.0
  • dependabot/go_modules/golang.org/x/text-0.26.0
  • dependabot/go_modules/golang.org/x/text-0.27.0
  • dependabot/go_modules/golang.org/x/text-0.28.0
  • dependencies
  • deps
  • describe-decorations
  • describe-max-ack-pending
  • describe-raw
  • describe-tiers
  • disable-cgo
  • disable-version-local-version-check
  • docs
  • edit-export
  • edit-operator-signingkey
  • edit-user-payload
  • empty-key
  • env-operator
  • exorcise-jsm
  • expirations
  • export
  • export-import-fixes
  • expose-generate-profile
  • fix-103
  • fix-118
  • fix-128
  • fix-133
  • fix-146
  • fix-163
  • fix-180
  • fix-182
  • fix-190
  • fix-200
  • fix-205
  • fix-210
  • fix-218
  • fix-222
  • fix-225
  • fix-236
  • fix-38
  • fix-398
  • fix-40
  • fix-428
  • fix-46
  • fix-47
  • fix-491
  • fix-492
  • fix-498
  • fix-504
  • fix-505
  • fix-508
  • fix-510
  • fix-513
  • fix-521
  • fix-559
  • fix-563
  • fix-569
  • fix-571
  • fix-578
  • fix-585
  • fix-62
  • fix-628
  • fix-631
  • fix-633
  • fix-635
  • fix-639
  • fix-647
  • fix-652
  • fix-657
  • fix-660
  • fix-684
  • fix-687
  • fix-69-68
  • fix-719
  • fix-746
  • fix-79
  • fix-86
  • fix-88
  • fix-95
  • fix-account-payload-edit-message
  • fix-conn-type
  • fix-creds-migration
  • fix-crypto-cve
  • fix-data-dir-conf
  • fix-disconnect-close-messages
  • fix-env
  • fix-expiration
  • fix-generate-resolver
  • fix-goreleaser-brew-versions
  • fix-issue-config-discussions-link
  • fix-linter
  • fix-listing
  • fix-readaccount
  • fix-reissue-operator
  • fix-sk-conn-type
  • fixes
  • flag-val
  • fmt
  • friendly-names
  • friendly-names-import
  • generate_docs
  • go_nats_18
  • gomod
  • goreleaser
  • goreleaser-change
  • handle-account-cluster-flags
  • help
  • help-text
  • homebrew-goreleaser
  • import-changes
  • import-export-keys
  • import-keys
  • import-operator-url
  • improve-error-reports
  • init-changes
  • init-cmd
  • init-messages
  • initialtime
  • install-fixes
  • jwt-bump
  • jwt-update
  • jwt2
  • key-info
  • key-selection
  • keyring
  • latency-metrics-changes
  • list-describe-operator
  • list-flag
  • list-keys
  • load-profile
  • local-remote
  • main
  • master
  • max-responses
  • mem-resolver-config
  • mem-resolver-inline
  • migrate-deploy
  • mod_update
  • more-cover
  • multi-resolve
  • nkey-config
  • nkey-gen
  • no-bare-args
  • normalize-delete-imports-exports
  • normalize-signer-key
  • normalize-status
  • normalize-synadia-operator
  • nsc-init-msg
  • nsc-load-cmd
  • nsc-load-natscontext
  • nsc-vcsinfo
  • nsc_package
  • operator-deploy
  • operator-limits
  • operator-name-resolve
  • operator-service-urls
  • operators
  • pdp/2.7-backport-releng-fixes
  • pdp/27-backport-jwtv1-fix
  • pdp/bump-dependencies
  • pdp/ceo-wants-sh
  • pdp/fix-generate-creds-usage
  • pdp/genprof-fixoperator
  • pdp/gha
  • pdp/goreleaser-update
  • pdp/nsc-deeper-v2
  • pdp/nsc-version-v2
  • pdp/nuke-jwt-v1
  • pdp/release-tools-treadwater
  • pdp/staticcheck-202211
  • pdp/yaml-engineering
  • pull
  • pull-safety
  • push-activation
  • push-message
  • quieteditaccount
  • quietmode
  • random-operator-name
  • readme-updates
  • reissue-accounts
  • reissue-key
  • rel-2.7
  • relax-expirations
  • relax-semserver-parse
  • release/v2.7.0
  • release/v2.7.6
  • remove-account-restriction
  • remove-shortcodes
  • remove-vendored-deps
  • reqsub-tool-encrypt
  • resp-perm-defaults
  • response-perms
  • response-type
  • retract-tags
  • reverse-op-lookup
  • revert-668
  • revocation
  • role-description
  • rtt
  • sasbury
  • sasbury_misc
  • sattwood/homebrew-config
  • select
  • self-sign-migrate
  • self-update
  • short-codes
  • show-server-messages
  • signerparam-validation
  • signing-key-req
  • star_in_init
  • status-messages
  • stdout
  • stream-limits
  • sync-cmd
  • sys-account
  • tags
  • test-512
  • test-546
  • test-output
  • tls-first
  • tmp-jaime
  • tools
  • tracing
  • unbreak-release-signing
  • undo-autodoc
  • update-cliprompts
  • update-deps
  • update-deps-md
  • update-jwt
  • update-nats
  • v0.0.4
  • v0.0.5
  • v0.0.8
  • v1.0.8
  • wallyqs-patch-1
  • wide_fix
  • windows
  • windows-tests
  • ws-resolver
  • xkey

08 Jan 2025 03:30PM UTC coverage: 73.963% (+0.2%) from 73.798%
12673761050

Pull #696

github

aricart
Fix incorrect variable usage and error handling issues found in code review

Correct variable naming from 'stderr' to 'stdout' in tests for clarity and fix inconsistent error return handling in commands. Ensure reliable behavior when writing or describing outputs across the codebase.

Signed-off-by: Alberto Ricart <alberto@synadia.com>
Pull Request #696: Normalize CLI output / Simplify `ExecuteCmd` output handling in tests.

183 of 229 new or added lines in 20 files covered. (79.91%)

11 existing lines in 5 files now uncovered.

13036 of 17625 relevant lines covered (73.96%)

1.75 hits per line

Relevant lines Covered
Build:
Build:
17625 RELEVANT LINES 13036 COVERED LINES
1.75 HITS PER LINE
Source Files on test-out
  • Tree
  • List 101
  • Changed 23
  • Source Changed 21
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
12673761050 test-out Fix incorrect variable usage and error handling issues found in code review Correct variable naming from 'stderr' to 'stdout' in tests for clarity and fix inconsistent error return handling in commands. Ensure reliable behavior when writing or de... Pull #696 08 Jan 2025 03:32PM UTC aricart github
73.96
12673761621 test-out Merge e6a6887e3 into f113ec2d2 Pull #696 08 Jan 2025 03:32PM UTC web-flow github
73.96
12640266151 test-out Merge branch 'main' into test-out Pull #696 06 Jan 2025 09:02PM UTC web-flow github
73.96
12640266441 test-out Merge 408fd8bcd into e838251a8 Pull #696 06 Jan 2025 09:02PM UTC web-flow github pending completion  
12640203341 test-out [FIX] normalized use of stdout/stderr. Reports on non-output commands will now go to stdout if there is no error otherwise to stderr. Fixed commands to use fmt.Fprintf/variants to the right stream. Fixes #580 [CI] Refactored test cases to moderni... Pull #696 06 Jan 2025 08:57PM UTC aricart github
73.96
12639579039 test-out [windows ci] removed skipped tests on windows now that the output streams are sorted out - previously the ExecuteCmd in the test framework was using pipes and other things which would make random tests in windows hang. Signed-off-by: Alberto Rica... Pull #696 06 Jan 2025 08:11PM UTC aricart github
73.96
12639415988 test-out Refactor test command execution to improve readability. Updated command invocations to use consistent argument formatting with slices. This change removes redundant values from returned results, simplifies error handling, and improves code clarit... Pull #696 06 Jan 2025 08:00PM UTC aricart github
73.96
12637893089 test-out move to new Execute Signed-off-by: Alberto Ricart <alberto@synadia.com> Pull #696 06 Jan 2025 06:12PM UTC aricart github
73.9
12623255075 test-out Refactor describe commands into common base command removing duplicated logic and simplifying error handling Signed-off-by: Alberto Ricart <alberto@synadia.com> Pull #696 05 Jan 2025 09:56PM UTC aricart github
73.88
12621366275 test-out Updated the test assertion to match the actual error message "connectex: No connection" on Windows. This ensures the test accurately reflects the platform-specific error output. Signed-off-by: Alberto Ricart <alberto@synadia.com> Pull #696 05 Jan 2025 05:02PM UTC aricart github
73.81
See All Builds (1818)
  • 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