Here you have a full example project that shows how you can implement different tests types into your android projects. My goal with this repository is to show the way to have a isolated architecture and how you can mock and test all the layers or components of the project.
You will see the following kind of tests.
- Unit Tests
- Integration Tests
- Instrumentation Tests
By the way, also I want to show a full example about my personal approach of Clean Architecture.
- To Fernando Cejas, for his help on Clean Architecture and for the configuration of the dependencies for gradle.
- To Pedro Vicente Gomez, for his help on Testing and Dagger things.
- To all Android Developers of Spanish Community for their help every time.
Copyright Txus Ballesteros 2016 (@txusballesteros)
This file is part of some open source application.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Contact: Txus Ballesteros txus.ballesteros@gmail.com