Skip to main content
1 of 4
Vishal Aggarwal
  • 5.6k
  • 2
  • 20
  • 37

I agree mostly with Michael's answer. However in certain scenarios randomness not only becomes useful but necessary as recently to re-calculate a price , I needed to randomize few input values so that application is forced to re-calculate price on every test run which will not be possible with static price value.

Also on randomizing price in decimal points up to large range, I found an issue where application is incorrectly rounding off price after certain decimal points which is not acceptable by business.

This issue was undiscovered over a long period with static values.

Vishal Aggarwal
  • 5.6k
  • 2
  • 20
  • 37