Add unit tests covering error paths and malformed API responses #8
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some error paths in
UpdateDnsCommandand related classes are not currently covered by tests. Adding tests for these scenarios would improve confidence in error handling and prevent regressions.Suggested test cases
retrieve()returns invalid JSONretrieve()returns missing fields (e.g., missing records)edit()returns non‑SUCCESS statusping()returns null or malformed dataConfigfile contains valid JSON but wrong structureBenefits
Notes