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

Tests for feature-multiview #298

Open
ThomasPause opened this issue Sep 11, 2020 · 2 comments
Open

Tests for feature-multiview #298

ThomasPause opened this issue Sep 11, 2020 · 2 comments

Comments

@ThomasPause
Copy link
Collaborator

ThomasPause commented Sep 11, 2020

testing a serverside application like multiview with the existing way (chai) seems to be impossible.
Investigate on how to write smart gui tests (end-2-end-tests)

@ThomasPause ThomasPause added this to the tp-must milestone Sep 11, 2020
@ThomasPause ThomasPause self-assigned this Sep 11, 2020
@ThomasPause ThomasPause changed the title Write Chai tests for feature-multiview Tests for feature-multiview Sep 11, 2020
@ThomasPause ThomasPause modified the milestones: tp-must, tp-optional Sep 11, 2020
@ThomasPause
Copy link
Collaborator Author

nice combination here is cypress.io and cucumber. Communication between is via the cucumber-cypress-preprocessor.

https://www.cypress.io/

Cypress supports chai and mocha syntax and is easy implementable.
It provides an own test runner, as an embedded browser and can be run by a npm run script.

Cucumber gives the possibility to write tests in natural language. That's a nice feature but not needed for now in this project.
Another reason is that it has to implemented a preprocessor tool, what is too much overhead.
For pgraph I will write an ui test, that maybe can be transported into the master branch later.
Description can be found at my Bachelor-Thesis.

@ThomasPause
Copy link
Collaborator Author

maybe we can use the procedure defined in our Releasecheckliste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant