In some specs that we write daily, we want to have the ability to write multiple variations of the same test. For example if we have a function that adds two numbers together, you would want to try multiple variations for that function’s spec to truly test each case you could think of. For example you would like to add two positive numbers, two negative number, or one positive and one negative number.
👨💻 If you think there is a mistake in this post or you want to discuss, you can follow me on Twitter or send me an email. Have a nice day!