Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications
by James Talbot, Justin McLean, Jorge Hernandez
Running Tests Automatically
Ideally, it would be great if you could run the tests when required instead of manually having to run them yourself. You should try to automate boring, manual tasks whenever possible, because it gives you more time to focus on the more important task of writing code.
When you have all the tests run automatically, it means you will be notified as soon as a test fails. You will not need to consider which tests you need to run and which tests you do not need to run after you’ve made a change. This is another reason that having lots of small tests that run quickly is important and optimal. The smaller tests mean that you can more easily pinpoint where the problem is. If your tests are fast, it means you can run them more ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access