finer-grained tests
sasa1977 opened this issue · comments
Tests are currently almost non-existing. The issue #5 describes the highest-level test which are needed, but more lower-level tests would also be very useful, especially to verify the handling of edge cases.
It's worth mentioning that this library consists of two parts: the acme client (SiteEncrypt
namespace), and a small native server (AcmeServer
namespace). Of the two, the client is more important, because the server's only purpose is to facilitate local development and testing, while the client is intended for production usage.
I'll marked this as closed, because now we have a single test which exercises the basic scenario (initial certification). Test could be expanded somewhat, but it's not super pressing at this moment.