Skip to content

test: add initial test suite #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 1, 2021
Merged

test: add initial test suite #273

merged 2 commits into from
Apr 1, 2021

Conversation

ligurio
Copy link
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
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
@ligurio ligurio force-pushed the ligurio/add-tests branch 3 times, most recently from fa385b1 to 39d483d Compare March 30, 2021 18:59
@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
Member

@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.

@Totktonada Totktonada merged commit 83867b7 into master Apr 1, 2021
@Totktonada Totktonada deleted the ligurio/add-tests branch April 1, 2021 03:28
Totktonada added a commit to tarantool/tarantool that referenced this pull request Apr 7, 2021
List of changes in test-run:

* readme: add memcached to users ([PR #285][1])
* test: add integration tests ([PR #273][2])
* test: enable in continuous integration ([PR #273][2])
* Fix slowdown on Python 3 ([PR #290][3])

Updated .luacheckrc to exclude newly added 'core = tarantool' tests
(ones that check test-run itself).

[1]: tarantool/test-run#285
[2]: tarantool/test-run#273
[3]: tarantool/test-run#290
Totktonada added a commit to tarantool/tarantool that referenced this pull request Apr 7, 2021
List of changes in test-run:

* readme: add memcached to users ([PR #285][1])
* test: add integration tests ([PR #273][2])
* test: enable in continuous integration ([PR #273][2])
* Fix slowdown on Python 3 ([PR #290][3])

Updated .luacheckrc to exclude newly added 'core = tarantool' tests
(ones that check test-run itself).

[1]: tarantool/test-run#285
[2]: tarantool/test-run#273
[3]: tarantool/test-run#290

(cherry picked from commit 8b3ec7b)
Totktonada added a commit to tarantool/tarantool that referenced this pull request Apr 7, 2021
List of changes in test-run:

* readme: add memcached to users ([PR #285][1])
* test: add integration tests ([PR #273][2])
* test: enable in continuous integration ([PR #273][2])
* Fix slowdown on Python 3 ([PR #290][3])

Updated .luacheckrc to exclude newly added 'core = tarantool' tests
(ones that check test-run itself).

[1]: tarantool/test-run#285
[2]: tarantool/test-run#273
[3]: tarantool/test-run#290

(cherry picked from commit 8b3ec7b)
Totktonada added a commit to tarantool/tarantool that referenced this pull request Apr 7, 2021
List of changes in test-run:

* readme: add memcached to users ([PR #285][1])
* test: add integration tests ([PR #273][2])
* test: enable in continuous integration ([PR #273][2])
* Fix slowdown on Python 3 ([PR #290][3])

Updated .luacheckrc to exclude newly added 'core = tarantool' tests
(ones that check test-run itself).

[1]: tarantool/test-run#285
[2]: tarantool/test-run#273
[3]: tarantool/test-run#290

(cherry picked from commit 8b3ec7b)

(The .luacheckrc change was excluded from the backport to 1.10: there is
no .luacheckrc here.)
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