-
Notifications
You must be signed in to change notification settings - Fork 1
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
Documentation for client setup required #1
Comments
"npm test" now runs client side unit tests. Note: This will not start the execution of (cucumber) acceptance tests. We should run these only on ci-server. What do u think about this? |
I'm not sure.. Tbh I think you should also be able to run an integrative environment on your local dev machine. Therefore I would also think, that cucumber should be run locally. It depends on what you're trying to achieve: for now it looks like cucumber is being used as an integration test tool. But wasn't it basically "Behaviour Driven Development" we wanted to accomplish? Because even though your unit tests are green, it doesn't mean, that the behaviour of the software matches the expected behaviour described in the requirements. On your local machine you can easily have those tests running against the backend and a mocked database for example - it helps you validating if you match your requirements (which unit test do not). On the CI system this should be used for integrated testing including the whole stack - of course. There the behaviour should still be the same. Or is it just because the test setup/software stack seems to be so complex and it took so much time for setting it up? (not meant to be bad, just want to understand the real reasons ;) ) |
btw: added a bit of documentation regarding the setup of the client: https://github.com/sebauer/schluckspecht/wiki/Setup |
Please add some information about how to setup the client environment to run the tests.
Current output of npm test:
The text was updated successfully, but these errors were encountered: