Skip to content
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

Kzl 70 cpp e2e tests #158

Merged
merged 26 commits into from
Jun 1, 2018
Merged

Kzl 70 cpp e2e tests #158

merged 26 commits into from
Jun 1, 2018

Conversation

etrousset
Copy link
Member

@etrousset etrousset commented May 31, 2018

What does this PR do ?

Adds automatic testing of C++ SDK framework using cucumber-cpp

How should this be manually tested?

  • Step 1 : build the cpp SDK make cpp in internal/wrapper
  • Step 2 : build test application: in internal/wrappers: build_cpp_tests.sh̀
  • Step 3 : in _build_cpp_tests run ./KuzzleSDKStepDefs
  • Step 4: in another console: in internal/wrappers : cucumber features/sdk2.features

Alternative: launch test in one console:
_build_cpp_tests/KuzzleSDKStepDefs > /dev/null & cucumber features/sdks2.feature
or
_build_cpp_tests/KuzzleSDKStepDefs > tests.log & cucumber features/sdks2.feature
to keep tests execution logs

KZL-70 (https://jira.kaliop.net/browse/KZL-70)

@codecov-io
Copy link

codecov-io commented May 31, 2018

Codecov Report

Merging #158 into 1.x will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              1.x     #158   +/-   ##
=======================================
  Coverage   89.01%   89.01%           
=======================================
  Files         244      244           
  Lines        4406     4406           
=======================================
  Hits         3922     3922           
  Misses        452      452           
  Partials       32       32

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e93b963...cfbf4c4. Read the comment docs.

@jenow jenow changed the base branch from 1.x to master May 31, 2018 15:47
@jenow jenow changed the base branch from master to 1.x May 31, 2018 15:47
Copy link
Contributor

@jenow jenow left a comment

Choose a reason for hiding this comment

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

Can you rename sdks2.feature in sdks.feature?

@@ -0,0 +1,209 @@
<?xml version="1.0" encoding="Windows-1252"?>
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this should be commited :p

Copy link
Member Author

Choose a reason for hiding this comment

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

It's a file that comes with the third party library

Copy link
Member Author

Choose a reason for hiding this comment

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

This file is part of the 3rd party lib...

const char *scope;
const char *state;
const char *user;
const long start;
Copy link
Contributor

Choose a reason for hiding this comment

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

long should not be const

Copy link
Member Author

@etrousset etrousset Jun 1, 2018

Choose a reason for hiding this comment

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

Is it going to be free by the SDK?

@jenow jenow removed the blocked label May 31, 2018
@etrousset etrousset merged commit a164cee into 1.x Jun 1, 2018
@etrousset etrousset deleted the KZL-70-cpp-e2e-tests branch June 1, 2018 13:52
@jenow jenow mentioned this pull request Sep 10, 2018
@jenow jenow mentioned this pull request Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants