-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add restart and/or ensure-running commands #3
Comments
Hi, we made the Just do the following before doing the
|
Yes, I did: https://gist.github.com/schlomo/8bd30a130bc28cfb1facf2d37ee25456#file-run-tests-sh As this is probably a very common use-case I would prefer to have it in the tool itself. As you wish. |
Nice!!! Even tweeted and all! https://twitter.com/schlomoschapiro/status/888394803377000448 Regarding this change request, it was like that at first but then we changed so we wouldn't kill any running Zalenium and therefore running tests by mistake. idk what do you think @diemol ? should be keep it as it is or go with the stop first then start? |
I wouldn't change the behavior of |
I don't remember this :)
But yes, a start should be clean. At least we should have the |
I updated the issue. PR's are welcome either to add this and/or to refactor this script. It was created as an internal convenience but it has proved to be widely used and needed so maybe is time to do a proper rewrite. |
I would like to be able to have
in my test runner scripts before starting the tests. ATM this fails if Zalenium is already running:
I therefore kindly ask you to enhance the script so that it can be added everywhere as an "ensure Zalenium is running" script.
Maybe it is also enough to add a new command "restart" or "ensure" that first stops and then starts Zalenium.
The text was updated successfully, but these errors were encountered: