[VIRTUAL] Mocking mocking libraries and writing stable UI tests

The Dutch Android User Group
Thu, Jun 18, 2020, 7:00 PM (CEST)

29 RSVP'ed

About this event

This virtual meetup will be all about testing! lately there's been discussions around when and if you should use mocking libraries. Niek Haarman will dive into this topic with us, he will be looking at techniques and a particular architecture style that will ramp up your tests and allows you to get rid of your mocks forever. But that's not all! Alex Zhukovic will cover another interesting topic, how to write stable UI tests, share them between local and instrumentation tests and more.

Youtube: https://www.youtube.com/watch?v=r-I23nmQMPk

Agenda:
18:30 Live stream starts
19:00 Introduction talk by DutchAUG
19:05 Alex Zhukovic: Integrating fast and stable automated tests into your project.
19:45 Break
19:50 Niek Haarman: Mocking mocking libraries

After each talk there's room for Q&A

Talk 1: Integrating fast and stable automated tests into your project

Mobile apps are growing. They become more complex and require more testing. It means that it is time to integrate fast and stable automated tests to your project.
In this talk Alex Zhukovic, will cover the following topics:
- How to create fast and stable UI tests
- How to avoid flaky tests
- How to share UI tests between local and instrumentation tests
- How DSL can speed up adding stable UI tests to the project

Talk 2: Mocking mocking libraries

Mocking libraries are super popular with developers. They're useful to define expectations, stub method calls, guarantee a particular order of returns, and probably a lot more.

Unfortunately it turns out that tests written with such libraries are actually pretty hard to write, let alone maintain.

In this talk Niek Haarman will be looking with us at techniques and a particular architecture style that will ramp up your tests and allows you to get rid of your mocks forever.


Organizers

Partner