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

node-opcua / node-opcua / 23750061531 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2026 03:14PM UTC
Files 1195
Run time 49s
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

30 Mar 2026 02:28PM UTC coverage: 92.574% (-0.1%) from 92.721%
23750061531.1

push

github

erossignon
refactor(server-config): self-contained test certificates

Replace external certificate file dependencies with on-the-fly
certificate generation in test_server_configuration.ts.

The test suite previously depended on certificate files from
node-opcua-samples/certificates/ generated by the `prepare`
build step, causing CI/CD failures when these files were
missing.

Changes:
- Generate test certificates at startup using existing helpers
  (produceCertificateAndPrivateKey, produceSignedCertificateChain)
- Add produceSignedCertificateChain() helper to create CA-signed
  certificate chains using readCertificateSigningRequest
- Remove imports: fs, fileURLToPath, assert,
  readCertificateChainAsync
- Remove sampleCertificateFolder, sampleCert2048,
  sampleSelfSignedCert2048, sampleSelfSignedCert1024 constants
- Replace assert() calls with should.exist() + type guards
- Extract shared helpers to eliminate duplicated boilerplate:
  getDefaultTrustList, makeTrustListData,
  preloadIssuerCertificates, makeUnsecureSession,
  makeRestrictedServer
- Move installPushCertificateManagement into beforeEach

All 128 tests pass without requiring the prepare build step.

18317 of 21708 branches covered (84.38%)

161731 of 174704 relevant lines covered (92.57%)

464796.3 hits per line

Source Files on job 23750061531.1
  • Tree
  • List 1195
  • Changed 69
  • Source Changed 64
  • Coverage Changed 58
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23750061531
  • 13f310f5 on github
  • Prev Job for on master (#23621409084.1)
  • Next Job for on master (#23750655818.1)
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