netsec-ethz / rains

RAINS (Another Internet Naming Service)
Apache License 2.0
9 stars 11 forks source link

Testing and CI for internal components of rainsd / rainspub #100

Open britram opened 5 years ago

britram commented 5 years ago

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:

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.

britram commented 5 years ago

Do this before #101: uncovered swaths of code might be ripe for paring down.

britram commented 5 years ago

Question: do we want this test to verify that things are cached in the second level, and how?

britram commented 5 years ago

Note: Use rainspub to publish to a bootstrapped authoritative server