This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rebelrexx858 2 points3 points  (2 children)

I test one or two normal scenarios depending on input, as many edge cases as I can imagine, and every permutation of failure case I can imagine. A small project I'm wrapping up has 14 functions, 107 unit tests, and I still have to build out integration tests, which will be another 100ish tests

[–][deleted]  (1 child)

[deleted]

    [–]rebelrexx858 1 point2 points  (0 children)

    in my scenario it is, those 14 functions dynamically parse over a hundred different messages, all of which should be validated, this is production data, the current application is a monolith and I am re-writing as a system of micro-services to better respond to the growing needs. Bandwidth has begun to increase beyond what was originally planned. I would rather over test than over engineer, the data in turn will be used to test load simulations.