Unit testing means testing in isolation the smallest part.
Unit tests should not take more than a few milliseconds to set up and verify their assertions.
As such, if your code is not factored well for testing, you would typically use mocking (either by hand, or with mocking libraries) to mock out the bits not under test.
Extensive use of mocks is usually a smell of code that is not well designed *for testing*
If you intend to test components integrated together... That is integration testing.
If you intend to test performance of the whole or significant parts of the whole... That is performance testing.
When searching for the above, you will not get much luck if you are looking for them in the context of "unit testing" as those things are *outside the scope of unit testing"
On Wednesday, 19 June 2013, Shahab Yunus wrote:
Can anyone suggest a good/popular Unit Test tools/frameworks/utilities out
there for unit testing Cassandra stores? I am looking for testing from performance/load and monitoring perspective. I am using 1.2.
Thanks a lot.
Sent from my phone
This electronic message contains information which may be confidential or privileged. The information is intended for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by e-mail at (email@example.com) immediately.