← Back to Discord Forum

QA regression tests use assertions?

When writing tests used for QA regression testing is it best practice to use assertions? I know as a developer and writing unit tests assertions are used. Would appreciate the feedback as I am new to QA testing and just want to make sure I am following best practices. Thank you!

This thread is trying to answer question "Is it best practice to use assertions in QA regression testing?"

3 replies

You always want to use assertions, otherwise tests will always pass.

Well, not necessarily always but yes, you need to use assertions.

Yes, that’s what I thought. Thank you.

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.