Problem:
The Assertion Roulette test smell occurs when a test method has multiple non-documented assertions. Various assertion statements in a test method without a descriptive message impacts the readability/understandability/maintainability as it is not possible to tell the exact reason for the failure of the test.
Solution:
The original test was split into 19 new ones, each one for a primitive type being tested.
This is a test refactoring.
Problem: The Assertion Roulette test smell occurs when a test method has multiple non-documented assertions. Various assertion statements in a test method without a descriptive message impacts the readability/understandability/maintainability as it is not possible to tell the exact reason for the failure of the test.
Solution: The original test was split into 19 new ones, each one for a primitive type being tested.