Skip to main content

Unit Tests vs Feature Tests: example of currency converter

Premium
5:40

The Full Lesson is Only for Premium Members

Want to access all of our courses? (36 h 00 min)

You also get:

61 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Vadim avatar

Is it that:

FEATURE TESTS - are for most of the tests of the site/app, it's page content, notifications, and anything that has visible/viewable content

and

UNIT TESTS - are for inside mechanisms: actions, helpers, services, etc, that are not reachable by any route, but plays their role inside - like: currency converters, pdf generators, webhook parsers, router, etc?

👍 8

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.