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

8 communication tests #39

Merged
merged 14 commits into from
Sep 20, 2024

Conversation

hasanheroglu
Copy link
Contributor

@hasanheroglu hasanheroglu commented Sep 10, 2024

Closes #8, Closes #23.

This PR MUST be merged after #38 is merged.

  • Added tests for MQTT and Modbus.
  • Added mocha tests for HTTP and CoAP similar to existing client tests.
  • Fixed Modbus TD and logic.

Note: MQTT tests are problematic since the thing in the repository has properties with "readproperty" operations. We need to either change the logic or fix issues node-wot #980 and node-wot #1241.

README.md Outdated

### Smart Home Mashup

See the mashup's [readme](./mashups//smart-home/README.md).
Copy link
Member

Choose a reason for hiding this comment

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

Is the double forward slash correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed here.

@@ -0,0 +1,66 @@
"use strict";
/********************************************************************************
* Copyright (c) 2023 Contributors to the Eclipse Foundation
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* Copyright (c) 2023 Contributors to the Eclipse Foundation
* Copyright (c) 2024 Contributors to the Eclipse Foundation

Since it is new?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed here.

@@ -0,0 +1,216 @@
"use strict";
/********************************************************************************
* Copyright (c) 2023 Contributors to the Eclipse Foundation
Copy link
Member

@danielpeintner danielpeintner Sep 11, 2024

Choose a reason for hiding this comment

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

Suggested change
* Copyright (c) 2023 Contributors to the Eclipse Foundation
* Copyright (c) 2024 Contributors to the Eclipse Foundation

There are many more...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed here.

@egekorkan egekorkan changed the base branch from main to relu91-patch-1 September 19, 2024 06:40
@egekorkan egekorkan changed the base branch from relu91-patch-1 to main September 19, 2024 06:40
Signed-off-by: Hasan Eroglu <[email protected]>
Signed-off-by: Hasan Eroglu <[email protected]>
Copy link
Member

@egekorkan egekorkan left a comment

Choose a reason for hiding this comment

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

The PR is ok with some changes needed in a follow up PR:

  • fixtures usage for flask tests
  • Summarizing all the tests in the end. Currently, I need to scroll up to see if something has failed
  • Node v22 does not seem to work

@egekorkan egekorkan merged commit 528325f into eclipse-thingweb:main Sep 20, 2024
2 checks passed
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.

Modbus forms are wrong Communication Tests
3 participants