You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property based tests are tests that assert certain properties are always satisfied by your code. Instead of just testing that your code works on one input, they provide a range of inputs, making sure the property is satisfied every time. This article is a good introduction to property based testing in general.
Property based testing is very popular among the functional language community, including Elixir.
I'm not recommending that anyone write JS long term,
this is relevant to anyone who is not yet fluent in Elixir/Elm
or people who are stuck in JS-land for whatever reason.
see: https://github.com/jsverify/jsverify
"Testing shows the presence, not the absence of bugs". ~ Edsger W. Dijkstra
Property based tests are tests that assert certain properties are always satisfied by your code. Instead of just testing that your code works on one input, they provide a range of inputs, making sure the property is satisfied every time. This article is a good introduction to property based testing in general.
Property based testing is very popular among the functional language community, including Elixir.
Articles
Books
Videos
The text was updated successfully, but these errors were encountered: