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

Run integration tests with coverage against spine-web source code. #96

Open
YegorUdovchenko opened this issue May 29, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@YegorUdovchenko
Copy link
Collaborator

Currently, integration tests defined in web-tests module use the unpublished artifact of spine-web library for tests. It was made to test the library in a way it is used by end-users. This approach caused the decrease of test coverage in client-js module because integration tests are not running over its source code any more.

One of possible solutions to recover test coverage is to make integration tests run over the spine-web artifact in a test mode (as it is now) and to run the same tests over the spine-web source code in a coverage mode.

The issue is to expand web-tests module and switch between spine-web artifact and its source code to run tests. The possible solution is to install spine-web source code as web-tests dependency by path as follows:

"spine-web": "file:../../client-js/main/"
@YegorUdovchenko YegorUdovchenko added the enhancement New feature or request label May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant