Skip to content

Tests #4

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

Closed
wants to merge 7 commits into from
Closed

Tests #4

wants to merge 7 commits into from

Conversation

egor-romanov
Copy link
Collaborator

What kind of change does this PR introduce?

Client library testing

What is the current behavior?

No testing

What is the new behavior?

Some amount of tests for the client: invoke, auth, headers, body params.
Core components to build tests like reporting and relay container start.

Additional context

Tests are based on mocha, chai, test-containers-node and allure2-reporter

Also includes following changes:

  • headers is now optional parameter in client constructor
  • invoke becomes generic so user can now determine type of response.data with string as the default value

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.

1 participant