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

System tests #36

Merged
merged 24 commits into from
Apr 14, 2020
Merged

System tests #36

merged 24 commits into from
Apr 14, 2020

Conversation

supersven
Copy link
Contributor

@supersven supersven commented Apr 5, 2020

The tests run a Debuggee, make requests and call GHC.Debug.Client functions. To guard the tests against GHC changes, they make very little assumptions.

I'd like to propose this nomenclature for tests in this project:

  • system test - The library is used to inspect a real executeable (that runs).
  • functional test - Communication is done via socket, but there is some mock that answers.
  • unit test - Testing pure code.

This PR implements system tests. They make sure that Debugger and Debuggee can talk to each other.

Refers to #2

(Sorry, I had to close the previous PR because I mixed up GitLab WIP branches with GitHub Draft PRs.)

@supersven supersven marked this pull request as ready for review April 13, 2020 16:42
@mpickering mpickering merged commit 8dc4b55 into bgamari:master Apr 14, 2020
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.

2 participants