What are the benefits of Assert statement really. I don't get why do I need to use it. I read nearly 100 questions/answers about assert statement but still no idea about what are the benefits of it. There are too many conflicts about this statement I think.
For example some people says "Never use it in production" but some people says "You can use them in production level". Some people says "Always handle assertionErrors in production" but some people says "Never and ever handle assertionErrors either in production or development level".
Why this is an incorrect usage for example https://stackoverflow.com/a/2758262/1379734