vinyldns / go-vinyldns

Go client package for VinylDNS
Apache License 2.0
7 stars 25 forks source link

Improve integration test structure #78

Open mdb opened 3 years ago

mdb commented 3 years ago

Currently, the integration tests lack an intuitive structure. There's also no clear technique for establishing a pattern through which dependency values can be shared through the tests, but limited to an intended scope. For example, it could be worth sharing the ID of a created record set -- from a test of RecordSetCreate -- with a test of RecordSetUpdate and RecordSetDelete in an intuitive, well-organized way. Could something like ginkgo help establish that structure through Contexts, BeforeEachs, and scope?