CacheP2P
CacheP2P copied to clipboard
Tests?
This project looks pretty cool! Does it have tests? The package.json suggests that it does, but I don't see any test files...
https://github.com/guerrerocarlos/CacheP2P/blob/ac03daa4d29cbcd930952693daa960a56bbd78ec/package.json#L66-L69
Yep, still doesn't have any tests :(
I know tests are super important, any contributor that could help with creating and adding them, it would be greatly appreciated, I can't add them myself for now.
It looks like the test runner mentioned in the test script is zuul, which should be good for unit testing the constructor and events. Not sure what unit testing library you prefer. Jasmine has been great to work with.
It would be nice to have integration tests that spin up a static server and multiple browser clients, then makes assertions about how many requests actually hit the server. Selenium seems like a good fit.