specklepy icon indicating copy to clipboard operation
specklepy copied to clipboard

chore(tests): add toxiproxy for integration testing network issues

Open iainsproat opened this issue 1 year ago • 1 comments

Description & motivation

  • removes unnecessary speckle-server components not required for integration tests
  • speckle-server is addressable on port 3001, proxied via toxiproxy

Refer to https://github.com/specklesystems/speckle-sharp-sdk/pull/39 for more details. Equivalent SDK for python is https://github.com/douglas/toxiproxy-python

Changes:

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

  • [ ] My pull request follows the guidelines in the Contributing guide?
  • [ ] My pull request does not duplicate any other open Pull Requests for the same update/change?
  • [ ] My commits are related to the pull request and do not amend unrelated code or documentation.
  • [ ] My code follows a similar style to existing code.
  • [ ] I have added appropriate tests.
  • [ ] I have updated or added relevant documentation.

References

iainsproat avatar Jul 17 '24 13:07 iainsproat

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.65%. Comparing base (62c5114) to head (9a2651b). Report is 68 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #342   +/-   ##
=======================================
  Coverage   87.65%   87.65%           
=======================================
  Files          95       95           
  Lines        5670     5670           
=======================================
  Hits         4970     4970           
  Misses        700      700           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Jul 18 '24 07:07 codecov[bot]