Ozzie, our new testing friend

Jorge Coca
Oct 14, 2018 · 2 min read
Image for post
Image for post

One of the things that I like the most about Flutter is the ease of testing that comes with the platform; testing is a first class citizen of the framework. Out of the box, you get unit tests, widget tests and integration tests. These tools are a great compliment to produce a super high quality app, but I felt something was missing…

Let me introduce you to Ozzie, our new testing friend

Ozzie is an open source package for Flutter that will assist you while running integration tests. You can ask Ozzie to take screenshots at any point in time in your test suite, and if you want it, generate an HTML report.

It was developed and designed with a few goals in mind:

The configuration is minimal, and you can add it to any existing test suite without any headaches; just add ozzie to your pubspec.yaml as a dev_dependency , and add it to any test you want like this:

Easy, right? Now you can see a pretty HTML report with your screenshots:

Image for post
Image for post

This is just the beginning

Ozzie v1.0 includes very minimal, but powerful functionality: take screenshots, and generate an HTML report. But what else can Ozzie do?

You can expect these set of features in future releases, among others:

Who is Ozzie in real life?

Image for post
Image for post
“Ozzie” enjoying the ultimate driving machine

Osvaldo, or “Ozzie” in the office, is one of my good team mates that works with me at BMW. He is a Sr. Program Manager at BMW that has helped me an my team numerous times during many different testing sessions.

Besides having a great name for a testing library 😁, I think it is really important to be thankful for all that good people that helps us to deliver good software. This is my way of thanking Ozzie.

You can find Ozzie: https://github.com/jorgecoca/ozzie.flutter

You can follow me on https://twitter.com/jcocaramos and see more code here on my public Github https://github.com/jorgecoca

Flutter Community

Articles and Stories from the Flutter Community

Jorge Coca

Written by

Android engineer at @bmwna. Born in Madrid, living in Chicago. I have watched La La Land more times than you… and I love singing and dancing in public xD

Flutter Community

Articles and Stories from the Flutter Community

Jorge Coca

Written by

Android engineer at @bmwna. Born in Madrid, living in Chicago. I have watched La La Land more times than you… and I love singing and dancing in public xD

Flutter Community

Articles and Stories from the Flutter Community

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store