3 ms·
I agree with you! I'm not going to lie to you the tests are rather different than most. I don't test things say like setting up an initial cluster or node. T
by alexpadula 3y ago
I agree with you! I'm not going to lie to you the tests are rather different than most. I don't test things say like setting up an initial cluster or node. Those are such basic functionalities that can be manually tested. The system is tested mainly and I say mainly on:
- handling the protocol in which the client speaks to the cluster (no need)
- handling the protocol in which the cluster speaks to the node (no need)
- the query language (when testing the query language we are testing the above 2)
- finding any gaps in mistyping a query that can cause a cluster exception of any kind (this has been insanely gone through, I can't even lol)
- concurrency with consistency. One test for example is updating multiple documents multiple times through 100 client connections.
I don't see the structure of any main method changing. I just want to add tests must be driven meaning.. With a client. You don't test this system like you do a module in GO. You don't just write one test for CountLog(). If I absolutely had to sure.
When you test the client>cluster>node(s). So you always do driven testing as a client or multiple clients.