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
Author Archives: KazuCocoa
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
2017年 ~> 2018年に向けて
ちょうどクリスマスが終わったくらいだけれど。 2016年振り返りと2017年へ からはや1年。アラサーといっても、四捨五入が必要な歳になった。 2017年 昨年のやりたいことに書いていたSwift/Kotlin、海外との関わり付近は仕事の兼ね合いもあって前進中。そこに加えて、OSS関連は良い方向に向かっているようで良い年でした。私の専門性の源泉はテスト/品質よりなので、そこは今後も大きく離れないようにしたいなーという感じを持っています。 完全なプライベートはここでは書きませんが、全体としては楽しく/幸せな感じで進んでいるのでよかった。 会社関係 海外事業部にうつり、日本国外を対象としたサービスの開発にどっぷりになった UKのBristolに国外アプリの開発拠点があり、開発メンバの大半はそこか日本オフィスにいるリモートな環境 役回りはテスト/品質系エンジニアを継続して行っており、海外チームの中でもその手の役割を創っていく側になりました 類似の専門性を持った人がいない + 完全英語環境 もあって、やっぱり今までの経験を色々と手順を追って噛み砕きながら進める必要があり、挑戦的 英語を主とした開発にうつり、主言語として英語、もしくは第二外国語として英語、という形のコミュニケーションが増えた 異動当初は色々ともたついていましたが、最近はだいぶ全般的に改善できたと思う… 私の役回りとして必要とされる英語スキルにはまだまだ達していないので、特に表現周りや落ち着いて話して伝えるところを継続して訓練していこう OSS周り 昨年にAppiumのコアメンバに入り、そこからRubyだけではなくPythonクライアントをみたり、Appium自体へのコミットも増えた JavaScriptはそこまでがっつり触ったことはなかったので、NodeJS環境におけるJSを学びながら…という状態 Appium初期から開発されていたこともあり歴史的な複雑さも持ったruby_libをコアパートであるruby_lib_coreに分離して、最小限の機能を持ったところと分離させた。これのおかげでか、W3C対応とかも見通しが良い感じでクライアントの実装を修正できている。 こういったElectronアプリをちょっと創ったりして、面倒なところを減らせるようにもした https://github.com/KazuCocoa/appium-source-viewer OSS周りでは、知らない人からこういうOSSつくったんだよね、とか、Appium関連からちょっと先進的な取り組みのお誘いをもらったりするようになった ほか、細かなものはちょくちょく創ったりしていたかも そういえば、profileを作成するサービスあったのでやってみた https://github-profile-summary.com/user/KazuCocoa そのほかの活動 try!Swift 2017で話した この頃から、英語の発表の機会がちょっとできた ICSTへの参加や、ICSTの非公式meetupを開いてGooglerのかたとも直接色々お話できた link Selenium Committer Dayで話した 海外のテスト/品質系カンファレンスにCfPだした 今2つ出して、1つダメだった… そのほか 海外からもユーザ企業から直接的なオファーが届くようになった + 複数回の技術的なやりとり含んだ英語の面接もパスしたし良い経験がもてた LinkedInだったら今までももらっていたけれど、そうではない経路も出てきたのはびっくり Web記事を少し書いた link これからも少し書く予定 2018年 やりきること CookpadTechConf2018でちゃんと話きる 仕事で私と同様以上の専門性を持つ人を招き入れる(英語圏が主な対象ですが、ゴロゴロいそうなので) やりたいこと (願わくば)数個のテスト/品質系の海外カンファレンスで話す ちょっと考えているやつを形にしていきたいなー 私生活はもちろん大切にしたい そういえば、ElixirにProperty-based…More