Androidアプリの設計パターンを読んだ。 自身の頭の整理、という感じですね。 個人的にはMVP/MVVMの話が一番よかったです。Activity/Fragmentやその他のもの。 Registoryレイヤはやっぱり色々なアーキテクチャでは安定していますが、PresenterやViewModelとかは今どうなのか、というところを把握するために、特に、 私自身、簡単な話だったり既存コードがMVP/MVVMとか、そこらへんの話はついていけるのですが、スクラッチで書けと言われるとちょっと参考を引っ張ってこないとサラでは書けないレベル。この書籍で、だいぶ頭の中の整理ができた気がします。 iOSもObjcから最近リリースされたし、mobile appのアーキテクチャは少し基盤ができた感じですかね。 https://www.objc.io/books/More
[Android][Java][JUnit]Some links for JUnit 5
Discussed JUnit 4 and JUnit 5, Parameterized Test and Dynamic Test styles, Android/Kotlin — KazuCocoa (@Kazu_cocoa) February 1, 2018 I discussed JUnit 5 with my team. I put some links and quotes in this post we discussed mainly then. Core principle https://github.com/junit-team/junit5/wiki/Core-Principles Parameterized tests https://github.com/junit-team/junit5/wiki/Core-Principles#parameterized-tests Dynamic Test http://www.baeldung.com/junit5-dynamic-tests The DynamicTests are executed differently than the…More
Read “Software Design X-Rays”, measure code quality
This month, I read Software Design X-Rays and leave summary and my memos here. The book shows us how to measure one of code quality and find hotspots, and how to fix or improve them. We also can learn some helpful git script to measure them quickly and get an opportunity to consider how to…More
[ML]Backtesting and Cross-validation
This article is a memo to me reading https://eng.uber.com/omphalos/ This article is a backtesting tool which used in Uber to validate ML related thing. I’m not sure some words and I’d like to memorise them in my brain. Thus, I’ve published this article. Back testing: https://en.wikipedia.org/wiki/Backtesting Backtesting is a term used in oceanography, meteorology and…More
[Android]Custom Lint for Android x Kotlin
We can implement some custom lint for Kotlin code. So, I put an example the custom lint. Some helpful links. http://tools.android.com/tips/lint-custom-rules http://tools.android.com/tips/lint/writing-a-lint-check You can also find examples in the GitHub repositories. Let’s try to implement custom lint and reduce easy mistake from your projects. Gradle Detector Registry check Add the lines on your gradle dependencies.…More
[iOS]memo for ios-device-control
Around 5 months ago, Google has opensourced ios-device-control to make iOS related work automate. The repository supports both real devices and simulators. https://github.com/google/ios-device-control It provides some examples and [https://github.com/google/ios-device-control/blob/master/java/com/google/iosdevicecontrol/examples/ExampleSimulatorDeviceControl.java] is one example with Simulator. When we run the example, we can see the following outputs. Google has EarlGrey for test automation against UI level and…More
[NPM][Appium] Restrict installed module size
I found https://github.com/appium/appium/issues/9912 and I learned the npm‘s –production flag to reduce the module size. Install without devDependencies https://docs.npmjs.com/cli/install#description With the –production flag (or when the NODE_ENV environment variable is set to production), npm will not install modules listed in devDependencies. Remove devDependencies resources https://docs.npmjs.com/cli/pruneMore
[Appium][Ruby]Run tests in parallel
[Update] Refer [Appium]Run tests in parallel with parallel_tests gem if you’re finding a way to run tests in parallel with existing gem. When we run Appium in parallel on one Machine and one Appium server with Ruby, we have two ways to implement it. (For Android, we don’t need to configure this kind of environment.…More
2017年に新たに読んだ書籍群を振り返って
毎年、2015年に新たに読んだ書籍群を振り返って、2016年に新たに読んだ書籍群を振り返ってをなぞって。 今年くらいからか、LeanPubだったり、PragaticBookshelfといったところから購入する本が増えてきたように思える。β版のうちから気になるものを買っておけば、すこし安くてに入るというのもあるかも。頭でっかちになるつもりはないけれど、いろんな人と話すときにこういう整理された情報源から話を引っ張ってこれるとだいぶ会話が楽なのですよね。海外の人と対話するときの表現とかも学べますし。 そういえば、日本国外の人と活動する頻度が上がってきたことにより、異文化交流などの書籍も読んだりするようになりましたね。また、それに伴って専門性のある言葉に関しては特に、日本語を主に覚えていたものを英語に慣れさせるために英語の記事をあたるとか、そういう類のものも増えてきた気がします。ここ半年くらいは特に。 そういえば、オライリーから無料で配布される電子書籍が情報が整理されていて良い本であるように思える(ここだと、Chaos EngineeringとDesigning Autonomous Teams and Services)のですが、これを無料で配布できるって驚き… programming language Read “Functional Programming: A PragPub Anthology” Swift 「Swift実践入門」を読んだ★ Kotlin [Kotlin]Kotlin in Action, [Kotlin]Kotlin in Action vol2, [Kotlin]Kotlin in Action vol3★ Ruby 「RubyでつくるRuby」を読んだ Elixir read “Learn Functional Programming with Elixir” [Elixir]read “Craft GraphQL APIs in Elixir with Absinthe” Software Testing 「The Art Of Software Testing…More
Tasting report portal again
Today, the reportportal pre-4.0 released. I’ve posted try reportportal before and I thought the tool looks helpful for us. I know of Allure2 which is close to this tool but report portal is a more pluggable reporting tool. The tool provides to analyze test results using ML technology. We can see the feature’s video from…More