-
Book Overview & Buying
-
Table Of Contents
Xamarin Mobile Application Development for Android, Second Edition
By :
You may be familiar with a process called test-driven development (TDD). At a high-level, the approach proposes that you create automated unit test cases to test the features that your software will need to support, and use these test cases to drive the development and unit testing cycle.
This chapter will not cover the concepts behind test-driven development in detail, but we will introduce a feature delivered with Xamarin.Android, which supports teams using TDD. This feature is NUnitLite. NUnitLite is a lightweight, open source testing framework, which is based on the same ideas as NUnit. This has been designed to use minimal resources, making it ideal for embedded and mobile software development.
When working with NUnitLite, you create classes called test fixtures. These classes contain test methods that are used to test the various facets of the testing target; in our case, the DBManager class. To designate a class as a test fixture or a method as a...
Change the font size
Change margin width
Change background colour