Running a Property
Explore how to run a basic property test in PropEr within an Erlang project. Learn the structure for organizing properties in standalone modules, running tests via the rebar3 tool, and executing numerous test cases to validate your code effectively.
We'll cover the following...
We'll cover the following...
The properties we’ve seen so far were pseudocode-like and left a lot to the imagination. Now that we have a stand-in directory structure with a structure similar to what we’d have in a real project, we’re going to tie everything together. We’ll add a property to the project and execute it. The property will be basic and test nothing of significance, but it’ll give us a brief idea of what things look like and how they should all fit together. ...