Loading…
Attending this event?
View analytic
Wednesday, April 19 • 16:15 - 17:00
Unit Testing with ApprovalTests (Llewellyn Falco)

Sign up or log in to save this to your schedule and see who's attending!

Feedback form isn't open yet.
Abstract:
When I look back at every time I have not written a unit test first. It was either because I didn’t really know how to do it effectively, or how to do it at all.
Of course, this doesn’t mean it can’t be done, just that I hadn’t learned how to… yet.
This session is about how I’ve learned to test many things I used to think were impossible. Usually in a just a few lines of code.
Want to test that a gui looks right? No problem.
That the Html and CSS render correctly. Piece of cake.
Is the noise reduction function making the audio sound better? I can do that.
That database query from the ORM is working? Sure. Even if the database is down. Yep!
This is going to be a compare and contrast type session. We will look at lot’s of examples of standard unit tests vs the same test using an ApprovalTesting framework like: TextTests, PealFish, Depicted (dpxdt) or ApprovalTests.
Learning Outcomes:
  • The 4 benefits of testing
  • Increasing Feedback
  • How to create custom asserts
  • How to test many 'untestable' things


Speakers
avatar for Llewellyn Falco

Llewellyn Falco

Agile Coach, Spun Labs
Llewellyn Falco is an Agile Technical Coach specializing in Legacy Code and Test Driven Development. He is the creator of the open source testing tool ApprovalTests( www.approvaltests.com ), co-founder of TeachingKidsProgram ( www.teachingkidsprogramming.org ) and a PluralSight author.


Wednesday April 19, 2017 16:15 - 17:00
Room 2