🌿 In this PR, we configure the generated Java SDK to test against fake-seam-connect. The tests here are largely inspired from the existing tests in the Seam Python SDK.
Which resources are tested
[x] Access Codes
[x] Action Attempts
[x] Connected Accounts
[x] Connected Webviews
[x] Devices
[x] Events
[x] Noise Thresholds
[x] Thermostats
How does it work
Each resource gets its own test file (e.g. AccessCodesTest, DevicesTest)
Each resource invokes fake-seam-connect on startup
Each test uses the generated SDK and asserts conditions
Gaps
There are a couple gaps in the test because fake-seam-connect does not completely mock Seam's API. In particular,
Connecting acounts via email does not work
Deleting connected accounts endpoint is not served
Listing Locks endpoints is not served
However, these gaps are relatively minor as the most important resources/tests work as expected.
🌿 In this PR, we configure the generated Java SDK to test against fake-seam-connect. The tests here are largely inspired from the existing tests in the Seam Python SDK.
Which resources are tested
How does it work
fake-seam-connect
on startupGaps
There are a couple gaps in the test because
fake-seam-connect
does not completely mock Seam's API. In particular,However, these gaps are relatively minor as the most important resources/tests work as expected.