Skip to content

[psc-ide] Restructure testing to avoid running the server - #2599

Merged
kritzcreek merged 13 commits into
purescript:masterfrom
kritzcreek:psc-ide-better-testing
Jan 24, 2017
Merged

[psc-ide] Restructure testing to avoid running the server#2599
kritzcreek merged 13 commits into
purescript:masterfrom
kritzcreek:psc-ide-better-testing

Conversation

@kritzcreek

Copy link
Copy Markdown
Member

This PR refactors psc-ide's testsuite to directly run the handleCommand function instead of communicating with a running psc-ide server and thus reduces flakyness and speed of the testsuite. In order to avoid race conditions I added synchronous versions of Load and Rebuild which cannot be called through the JSON API.

@paf31 paf31 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kritzcreek
kritzcreek merged commit 220e6ae into purescript:master Jan 24, 2017
@kritzcreek
kritzcreek deleted the psc-ide-better-testing branch January 24, 2017 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants