To get started with developing Oh-Haiku
- Install Eclipse
- Install the Android Development Toolkit
- Get the correct Android API: API 8
- Clone the project from Github
- Create an Eclipse workspace in the
code
directory - Create a new Android Project, choose
Create project from existing source
, select the OhHaiku directory - Create a new Android Test Project, choose
Create project from existing source
, select the OhHaikuTest directory, choose the OhHaiku project as test target.
To use Emma to check for Test Coverage:
- Make sure you have
ant
installed. - Start your emulator.
- Make an apk that is prepared for coverage testing:
- Go to the main project folder and enter:
ant emma debug install
- Go to the test project folder and enter:
ant emma debug install test
- Go to the main project folder and enter:
- And Voilà!