Skip to content

Conversation

kdbang
Copy link
Collaborator

@kdbang kdbang commented Oct 1, 2025

Check all that apply

Type of Change

  • WWST Certification Request
    • If this is your first time contributing code:
      • I have reviewed the README.md file
      • I have reviewed the CODE_OF_CONDUCT.md file
      • I have signed the CLA
    • I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com
  • Bug fix
  • New feature
  • Refactor

Checklist

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have verified my changes by testing with a device or have communicated a plan for testing
  • I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change

Add test case to enhance code coverage for zigbee switch. The PR make zigbee-switch covered by test case over 90%.

Enhaned driver list

aqara/multi-switch 87.50% -> 100.0%
inovelli-vzm31-sn 30.01% -> 98.48%
tuya-multi 43.18% -> 98.04%
zigbee-switch-power/aurora-relay 80.95% -> 100.0%
zigbee-switch-power/vimar 70.83% -> 100.0%

Summary of Completed Tests

@kdbang kdbang changed the title Add test case to enhance code coverage for zigbee switch. Add test case to enhance code coverage for zigbee switch Oct 1, 2025
Copy link

github-actions bot commented Oct 1, 2025

Channel deleted.

Copy link

github-actions bot commented Oct 1, 2025

Test Results

   71 files    453 suites   0s ⏱️
2 353 tests 2 353 ✅ 0 💤 0 ❌
3 965 runs  3 965 ✅ 0 💤 0 ❌

Results for commit 7e7c9cc.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Oct 1, 2025

File Coverage
All files 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/preferences.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/init.lua 93%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/ge-link-bulb/init.lua 95%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/aqara/init.lua 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/inovelli-vzm31-sn/init.lua 95%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/aqara-light/init.lua 93%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/tuya-multi/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/laisiao/init.lua 90%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/aqara/version/init.lua 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/jasco/init.lua 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/wallhero/init.lua 97%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-switch/src/frient/init.lua 95%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 7e7c9cc

@kdbang kdbang force-pushed the main branch 6 times, most recently from 7d2a442 to e3e1bcf Compare October 2, 2025 08:20
Signed-off-by: Bang Keuckdo <keuckdo.bang@samsung.com>
@greens greens merged commit 8c7c11b into SmartThingsCommunity:main Oct 2, 2025
11 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.

2 participants