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

tarantool / tarantool / 8155594560
88%

Build:
DEFAULT BRANCH: master
Ran 05 Mar 2024 11:47AM UTC
Jobs 1
Files 513
Run time 1min
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

05 Mar 2024 11:36AM UTC coverage: 86.962% (-3.2%) from 90.154%
8155594560

push

github

sergepetrenko
test: cover port implementations with unit tests

The commit introduces new `unit/port.cc` test that covers almost all
port implementations and almost all port methods. This test was
intended as a testing point for future port changes.

Implementations `port_sql` and `port_vdbemem` and method  `dump_vdbemem`
are not tested because I don't know much about the sql subsystem. For
the same reason, I didn't tested `port_dump_msgpack_with_context`.
Method `dump_msgpack_16` is not actually supported, but it is
still used for compatibility with very old connectors. The problem is I
found a bug in `port_c_dump_msgpack_16` while writing the test, and we
don't want to fix it - probably, we will get rid of this method in
future. Method `dump_plain` is not tested because it requires functions
from `console.lua` file - it is easier to test `console.push` from Lua
then loading the Lua file in unit test.

The file has .cc extension because the test requires user_cache
susbystem, which has init and free methods available only from C++
source files.

NO_CHANGELOG=test
NO_DOC=test

66966 of 119368 branches covered (56.1%)

99457 of 114369 relevant lines covered (86.96%)

2630722.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8155594560.1 05 Mar 2024 11:47AM UTC 0
86.96
GitHub Action Run
Source Files on build 8155594560
Detailed source file information is not available for this build.
  • Back to Repo
  • f90f5390 on github
  • Prev Build on master (#8153183695)
  • Next Build on master (#8187152551)
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