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

Create a Mock Broker #12

Merged
merged 9 commits into from
May 29, 2024
Merged

Create a Mock Broker #12

merged 9 commits into from
May 29, 2024

Conversation

NickMcSweeney
Copy link
Member

@NickMcSweeney NickMcSweeney commented May 28, 2024

Create Mock Broker

Allows for testing interface function behavior.

Config changes make for better integration with MQTT.jl interface package (soon to be released)

Changes

  • created Mock Broker function
  • changed MQTTConnection to Connection
  • add a Configuration object containing Client and Connection
  • add a abstract type for Client and Connection
  • add integration tests with mock broker
  • update documentation

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 93.15068% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 85.11%. Comparing base (4ebb3af) to head (e677738).
Report is 13 commits behind head on main.

Current head e677738 differs from pull request most recent head d71bdd2

Please upload reports for the commit d71bdd2 to get more accurate results.

Files Patch % Lines
src/connection.jl 54.54% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   91.02%   85.11%   -5.92%     
==========================================
  Files           7        8       +1     
  Lines         323      497     +174     
==========================================
+ Hits          294      423     +129     
- Misses         29       74      +45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@NickMcSweeney NickMcSweeney merged commit 6fcc30f into main May 29, 2024
10 of 12 checks passed
@NickMcSweeney NickMcSweeney deleted the feature/mock-broker branch May 29, 2024 12:05
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