This is the repository for the team MA: Morning 3
Cook is a simple app to manage cooking recipes on a smartphone. The app is able to manage existing or add new recipes and provides with an onsite-cooking mode. Time to step up your cooking Game!
The easiest way to get started is to use Android Studio and to import the project.
- Open Android Studio and click Import Project
- Navigate to the cloned repository
- Select the file
build.gradle
- Android Studio will open the project and set it up. Time for a coffee break ;)
- Build the project. The initial build will take a bit longer. This is finde, don't panic.
Using Android Studio, build the project by clicking at the hammer icon on the top right.
Alternatively, you can build the project via the command line:
- Navigate to the project root
- Enter ./gradlew build (make sure that you have the JDK in your PATH variable)
Using Android Studio, click the play icon on the top right. You can either run it on an Android Virtual Device or install it to a plugged in phone. Be sure to enable the Android Developer Options on your phone first though.
To Execute tests via Android Studio you can do the following:
- Open the gradle tasks window (on the right side) and navigate to Tasks->verification
- Double Click the gradle task "test"
- Open the test classes you want to execute and either execute the whole test class or specific tests by clicking on the respective play icons (left to the code window).
Alternatively, tests can be executed via the command line:
- Navigate to the project root
- Enter ./gradlew test for unit tests
- Enter ./gradlew connectedAndroidTest for instrumented unit tests