You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement testing with reasonable coverage, and add continuous integration for commits the repository, for implementation components of rainsd and rainspub.
Unit testing on individual components does not make a great deal of sense for most of RAINS, but adequate system-level testing coverage can probably be achieved by:
creating a test root zone, a test TLD, and a test RLD (in testdata/)
standing up a rainsd instance and publishing zones to it
standing up a rainsd instance and preloading its cache
standing up a second rainsd instance and pushing queries to it, so that it populates its cache from the first rainsd
checking positive/negative responses to test queries against the list of expected results (with this test vector also to live in testdata)
Running this test three times using three different connection methods can fully exercise the switchboard, as well:
Implement testing with reasonable coverage, and add continuous integration for commits the repository, for implementation components of rainsd and rainspub.
Unit testing on individual components does not make a great deal of sense for most of RAINS, but adequate system-level testing coverage can probably be achieved by:
testdata/
)rainsd
instance and publishing zones to itrainsd
instance and preloading its cacherainsd
instance and pushing queries to it, so that it populates its cache from the firstrainsd
testdata
)Running this test three times using three different connection methods can fully exercise the switchboard, as well:
ISTM a lot of the integration testing / simulation work can be repurposed to make this easier.
The text was updated successfully, but these errors were encountered: