Skip to content

test: add initial test suite#273

Merged
Totktonada merged 2 commits into
masterfrom
ligurio/add-tests
Apr 1, 2021
Merged

test: add initial test suite#273
Totktonada merged 2 commits into
masterfrom
ligurio/add-tests

Conversation

@ligurio
Copy link
Copy Markdown
Member

@ligurio ligurio commented Mar 12, 2021

test-run supports three types of tests:

  • tarantool - Test-Suite for Functional Testing
  • app - Another functional Test-Suite
  • unittest - Unit-Testing Test Suite

Patch adds tests for two of supported test types:

  • test-app
  • test-tarantool

How-to run:

$ mkdir build && cd build
$ make test_integration

@ligurio ligurio self-assigned this Mar 12, 2021
@ligurio ligurio force-pushed the ligurio/add-tests branch 7 times, most recently from 77898e5 to 05775b4 Compare March 12, 2021 19:08
@ligurio ligurio requested a review from Totktonada March 12, 2021 19:17
@ligurio ligurio force-pushed the ligurio/add-tests branch 6 times, most recently from e5c0c97 to 4f6f348 Compare March 12, 2021 22:46
@ligurio
Copy link
Copy Markdown
Member Author

ligurio commented Mar 12, 2021

ready to review

@ligurio ligurio force-pushed the ligurio/add-tests branch 8 times, most recently from 01a8ae4 to e5fe7d9 Compare March 16, 2021 12:25
@ligurio ligurio marked this pull request as draft March 16, 2021 22:28
@ligurio ligurio force-pushed the ligurio/add-tests branch 4 times, most recently from 9345881 to 45bcffc Compare March 22, 2021 10:03
Comment thread test/test-app/cfg.test.lua Outdated
Comment thread test/test-tarantool/iproto.test.py
Comment thread test/test-tarantool/setopt_delimeter.test.lua Outdated
Comment thread test/test-tarantool/panic_on_broken_lsn.test.lua Outdated
Comment thread test/test-tarantool/panic_on_broken_lsn.test.lua Outdated
Comment thread Makefile
Comment thread test/test-unit/Makefile Outdated
Comment thread test/test-tarantool/proxy.lua Outdated
Comment thread test/test-unit/suite.ini Outdated
Comment thread test/test-tarantool/read_bytes.result Outdated
Comment thread test/test-tarantool/engine.cfg Outdated
Comment thread test/test-unit/Makefile Outdated
Comment thread test/test-unit/Makefile Outdated
@ligurio ligurio force-pushed the ligurio/add-tests branch 3 times, most recently from fa385b1 to 39d483d Compare March 30, 2021 18:59
Comment thread test/test-unit/broken_unicode.test Outdated
Comment thread test/test-unit/broken_unicode.test Outdated
Comment thread test/test-unit/Makefile Outdated
@ligurio ligurio force-pushed the ligurio/add-tests branch 7 times, most recently from a5a76d7 to fae5e39 Compare March 31, 2021 13:58
ligurio added 2 commits April 1, 2021 06:22
test-run supports three types of tests [1]:

- tarantool - Test-Suite for Functional Testing
- app - Another functional Test-Suite
- unittest - Unit-Testing Test Suite

Patch adds tests for all three test types:

- test/test-app for type 'app'
- test/test-tarantool for type 'tarantool'
- test/test-unit for type 'unittest'

How-to run:

$ make test_integration

1. https://github.com/tarantool/test-run#test-suite
Added a separate target to Makefile that runs integration tests
and enabled testing in GH Actions.

test-run supports all Tarantool versions and testing parametrized by
supported tarantool versions 2.6 and 2.7. Added tests requires
additional changes to support 1.10 so I have decided to not test it in CI.
Copy link
Copy Markdown
Contributor

@Totktonada Totktonada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Comment thread test/test-tarantool/engine.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants