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

tarantool / test-run
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: gh-tarantool-6646-workflow-catching-flaky-tests
DEFAULT BRANCH: master
Repo Added 19 May 2021 12:03PM UTC
Files 25
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 Totktonada/dynamic-test-report-width
branch: Totktonada/dynamic-test-report-width
CHANGE BRANCH
x
Reset
  • Totktonada/dynamic-test-report-width
  • 0x501D/fix-get_iproto_port
  • 0x501D/fix-luarocks-warnings
  • Totktonada/add-github-actions-step-summary
  • Totktonada/bump-luatest-to-1.0.1-15-gfcabd2a
  • Totktonada/calc-jobs-using-available-cpus
  • Totktonada/descrease-unix-socket-path-length
  • Totktonada/fix-worker-failure-on-failed-tap13-parsing
  • Totktonada/gh-22-tags
  • Totktonada/gh-287-lift-pipe-buffer-size-restriction
  • Totktonada/gh-325-add-env-option
  • Totktonada/gh-361-status-line
  • Totktonada/gh-382-add-test-timeout-for-luatest
  • Totktonada/gh-437-fix-ability-to-run-test-several-times
  • Totktonada/luatest-experimenting
  • Totktonada/luatest-run-test-cases-in-parallel
  • Totktonada/prettify-help-output
  • Totktonada/qa-128-strengthen-wait-cond
  • Totktonada/test-python-versions-in-ci
  • Totktonada/update-flake8
  • VitaliyaIoffe/gh-276-hangs-timeout-doesnt-work
  • VitaliyaIoffe/gh-304-include-luatest
  • add-extra-log-msg
  • avtikhon/gh-qa-97-disk-bound-collect
  • avtikhon/gh-qa-97-disk-bound-collect-TMP
  • avtikhon/restart-tests
  • avtikhon/restart-tests_TMP
  • bump-luatest
  • bump-luatest-to-1.0.0-3-gf37b353
  • dependabot/pip/gevent-23.9.0
  • drewdzzz/wait_cluster_vclock_fix
  • fix-flake8-E721-do-not-compare-types
  • gh-119-buffering-problems
  • gh-330-fix-consistent-mode
  • gh-tarantool-6646-workflow-catching-flaky-tests
  • gorcunov/wait-log-drop-redundant-assert
  • grafin/add_ignore_zero_to_get_vclock
  • grafin/delete-zero-vclock-in-get_cluster_vclock
  • i-cod/fix-bug-when-lua-script-name-truncated-by-dot
  • i-cod/fix-incorrect-char-in-log-file-name
  • i-cod/timeout-adjustment
  • iverbin/fix-non-utf8-chars-parsing
  • kyukhin/enable-parallel-fragile
  • ligurio/add-unittest
  • ligurio/fix-typo
  • ligurio/support-skip-tap13
  • locker/rm-luatest-submodule-v2
  • lua-workflow
  • master
  • mechanik20051988/implement-lua-libs-for-luatests
  • sergos/qa-272
  • sergos/readme-update
  • skaplun/pretest-clean-dis-arm64
  • slavakirichenko/refactoring-ci-workflow
  • utf8-fixup
  • ylobanklov/improve-failed-test-report
  • ylobankov/add-retries-option
  • ylobankov/bump-gevent
  • ylobankov/bump-luatest
  • ylobankov/bump-luatest-to-new-version
  • ylobankov/change-vardir-default
  • ylobankov/consider-flaky-tests
  • ylobankov/drop-checksums
  • ylobankov/fix-ci
  • ylobankov/fix-crash-detect
  • ylobankov/fix-ports-issue
  • ylobankov/fix-server-start-check
  • ylobankov/fix-server-start-check-backup
  • ylobankov/fix-test-run
  • ylobankov/handle-server-start-errors-in-py-tests
  • ylobankov/ignore-sockets-on-artifact-copying
  • ylobankov/improve-ports-lua-script
  • ylobankov/kill-procs-of-not-started-servers
  • ylobankov/read-logfile-safely
  • ylobankov/refactor-luatest-helpers
  • ylobankov/retry-all-failed-tests
  • ylobankov/run-luatest-tests-by-pattern
  • ylobankov/switch-to-python2
  • ylobankov/update-luatest
  • ylobankov/update-requirements

27 May 2024 02:57PM UTC coverage: 62.565% (+0.03%) from 62.54%
9256873183

Pull #432

github

Totktonada
Adjust test result report width to terminal size

Now the test configuration name is not trimmed if the terminal width
allows it.

The idea can be illustrated this way:

```
+----------------------------------------------------------------------+
| Wide terminal                                                        |
+----------------------------------------------------------------------+
| suite/mytest_test.lua my_configuration                  [ pass ]     |
+----------------------------------------------------------------------+

+-------------------------------------------------+
| Narrow terminal                                 |
+-------------------------------------------------+
| suite/mytest_test.lua my_configur> [ pass ]     |
+-------------------------------------------------+
```

I want to add support for ability to run test cases as separate parallel
tasks for luatest based tests with reporting of the test case name as a
test configuration to the terminal. The test case names sometimes are
quite long and it is convenient to see as much symbols from it as
possible.

At the same time, the configuration name is stripped if the terminal has
a low width. This way the output look good as on a wide as well as on a
narrow terminal.

The feature works on Python 3.3+.
Pull Request #432: Adjust test result report width to terminal size

760 of 1566 branches covered (48.53%)

Branch coverage included in aggregate %.

30 of 41 new or added lines in 4 files covered. (73.17%)

1 existing line in 1 file now uncovered.

2952 of 4367 relevant lines covered (67.6%)

0.68 hits per line

Relevant lines Covered
Build:
Build:
4367 RELEVANT LINES 2952 COVERED LINES
0.68 HITS PER LINE
Source Files on Totktonada/dynamic-test-report-width
  • Tree
  • List 25
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
9256873183 Totktonada/dynamic-test-report-width Adjust test result report width to terminal size Now the test configuration name is not trimmed if the terminal width allows it. The idea can be illustrated this way: ``` +----------------------------------------------------------------------+ ... Pull #432 27 May 2024 02:59PM UTC Totktonada github
62.57
See All Builds (520)
  • 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