This post will explore how to rename your artifacts, to convey meaning.
Why? Use cases:
When your application has multiple “flavours”, you need the outputs identifiable. When you produce multiple versions at the same time, you need to tell which artifact is which. To check your current artifact’s name simply run assembleDebug Gradle task. If you haven’t modified it yet, your output will be app-debug.apk.
What would be better to have is something that is identifiable and meaningful like the template below:
This blog post does not explore Retrofit nor OkHttp and all their glory. Instead, we are looking into OkHttp’s testing API and how to use that to provide confidence into our codebase.
Testing is often daunting but crucial for software development. I am going to keep this post short and sweet. We will explore together the OkHttp‘s “MockWebServer” and how to integrate with Retrofit.
Target Audience: Retrofit Users
The Why?
Writing tests is an important part of software development and dare to say not an easy task. There are many practices, libraries, books, podcasts, web courses dedicated to testing. Without testing we can ship a software with “1 to N” number of bugs.
Personally, I am a fan of the following technique which helps developers write tests and provides a template guide on how-to form your tests.
Arrange Act Assert (AAA) a pattern for arranging and formatting code in [UnitTest](a pattern for arranging and formatting code in UnitTest methods ) methods
Privacy Policy
This privacy policy applies to the MoCalendar app (hereby referred to as “Application”) for mobile devices that was created by Giorgos Neokleous (hereby referred to as “Service Provider”) as a Commercial service. This service is intended for use “AS IS”.
What information does the Application obtain and how is it used?
The Application does not obtain any information when you download and use it. Registration is not required to use the Application.
Terms & Conditions
These terms and conditions applies to the MoCalendar app (hereby referred to as “Application”) for mobile devices that was created by Giorgos Neokleous (hereby referred to as “Service Provider”) as a Commercial service.
Upon downloading or utilizing the Application, you are automatically agreeing to the following terms. It is strongly advised that you thoroughly read and understand these terms prior to using the Application. Unauthorized copying, modification of the Application, any part of the Application, or our trademarks is strictly prohibited.