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

Improvement/#65/improve tests #85

Merged
merged 43 commits into from Nov 21, 2020
Merged

Conversation

isaacgr
Copy link
Owner

@isaacgr isaacgr commented Nov 21, 2020

  • Remove custom wording and phrases from tests
  • Properly use before/after to connect and disconnect clients and servers
  • Use pool of test clients and servers with the same ports for tests
  • Add component tests specifically for new class library methods and structure
  • Organize test folders and remove some unecessary tests

- Correctly use before/after hooks within describe blocks
- Open and close server connections before each test block to remove need for unique ports
- Remove unecessary batchResponse listener tests
- Remove v1 server from client tests (since client version determines server response if server is v2)
- uses .close() instead of .destroy()
- open and close server/client connections after each test block
- use the same port and methods for all servers
- use imported servers and clients from test-client and test-server files
- update v1 tests
- had to comment out #54 request timeout test for http due to
socket hang up error
Rename node ws client test
Remove extra delimiter from server notifications.
@isaacgr isaacgr linked an issue Nov 21, 2020 that may be closed by this pull request
@isaacgr isaacgr merged commit 281d42e into master Nov 21, 2020
@isaacgr isaacgr deleted the improvement/#65/improve_tests branch November 25, 2020 11:54
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.

Improve tests
1 participant