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

Use a TestResource for the Seasideserver #38

Merged
merged 8 commits into from
Jun 5, 2020

Conversation

jbrichau
Copy link
Member

@jbrichau jbrichau commented Jun 3, 2020

Instead of 'ensuring to start' a seaside server for executing tests, I needed to be able to stop the server as well after running a testsuite. Converting the Seasideserver that is started for the tests to a testresource makes that possible.

This is required to fix broken tests in Gemstone after adding Parasol to execute the functional tests. The gemservers have separate testcases and having started gem servers from other testcases interferes with a correct run. Context: SeasideSt/Seaside#1199

@jbrichau
Copy link
Member Author

jbrichau commented Jun 3, 2020

There is a breaking change: 'shouldEnsureSeasideServerStarted' is now on the class side instead of the instance side. It still controls if a Seaside server will be started.

@jbrichau jbrichau merged commit c4d1bb0 into master Jun 5, 2020
@jbrichau jbrichau deleted the testresourceforseasideserver branch June 5, 2020 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant