...

/

Property Testing with Eris

Property Testing with Eris

Learn about the features of property testing with Eris library.

There exist vast and varied types of tests. Unit tests, regression tests, and smoke tests are quite popular in the programming discourse. Unit tests are arguably the most profoundly used in codebases, regardless of programming language. While well-written unit tests are often atomic and easy to discern, they’re just as plentiful in the test-suites they constitute.

Property tests not only enhance the readability of unit tests, but they also truncate the redundancy of test-data generation and allow for the evaluation of multiple inputs in one test.

Property testing

Property tests verify aspects of a test scenario that should always hold. If we want to test the efficacy of a function that adds two numbers, for instance, we will have to, with ...