You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing on VMs (BrowserStack) and the overhead for one session is quite high (booting up a full ne VM, takes around 20 seconds).
So I am using \PHPUnit_Extensions_Selenium2TestCase_SessionStrategy_Shared to share session. Unfortunately there is code to restart the session in case the last test was not successful.
While this makes sense in some cases, in my case it does not.
Could we add a session strategy to not restart the session on failures? Or is it possible to add an own session strategy on-the-fly? (I did not yet succeed in this, as the session strategy does not seem to be pluggable)
Shall I (try to) make a pull request?
Current workaround:
Comment the function \PHPUnit_Extensions_Selenium2TestCase_SessionStrategy_Shared::notSuccessfulTest
The text was updated successfully, but these errors were encountered:
amenk
changed the title
Add FullyShared Session Strategy
Add FullyShared Session Strategy (even in case of failures)
May 6, 2016
I am testing on VMs (BrowserStack) and the overhead for one session is quite high (booting up a full ne VM, takes around 20 seconds).
So I am using \PHPUnit_Extensions_Selenium2TestCase_SessionStrategy_Shared to share session. Unfortunately there is code to restart the session in case the last test was not successful.
While this makes sense in some cases, in my case it does not.
Could we add a session strategy to not restart the session on failures? Or is it possible to add an own session strategy on-the-fly? (I did not yet succeed in this, as the session strategy does not seem to be pluggable)
Shall I (try to) make a pull request?
Current workaround:
Comment the function
\PHPUnit_Extensions_Selenium2TestCase_SessionStrategy_Shared::notSuccessfulTest
The text was updated successfully, but these errors were encountered: