google / mobly

E2E test framework for tests with complex environment requirements.
https://github.com/google/mobly
Apache License 2.0
647 stars 179 forks source link

Introduce a proper execution stage for final clean up. #538

Closed xpconanfan closed 6 years ago

xpconanfan commented 6 years ago

The final clean up stage includes recording controller info and destroying controller objects, both of which execute user logic which can raise errors.

This change makes the final clean up a proper execution stage to properly capture the errors from these operations.

Fixes #533


This change is Reviewable