[Appium] COMPILER_INDEX_STORE_ENABLE does not affect WDA build

I expected COMPILER_INDEX_STORE_ENABLE slightly improved WDA build time, but it did not affect… I would remain the result here. No COMPILER_INDEX_STORE_ENABLE=NO With COMPILER_INDEX_STORE_ENABLE=NO Update: But the COMPILER_INDEX_STORE_ENABLE=NO does not specify -index-store-path for the clang build. It slightly affects in some case, I guess…. But according to the above, it probably does not affect to WDA,…More

[Appium]Re-use existing WDA in create session command

In [Appium] Prevent building WDA with useXctestrunFile or usePrebuiltWDA, I explained how to skip re-building WDA every session in order to make test setup faster. I would like to show a “cache” feature for WDA in Appium. After this PR , the function will work correctly. The PR will be in 1.12.1 or 1.13.0. As…More

Listened audible books

I started to listen audible to get used to listening to English as practice. Beatrix Potter: The Complete Tales Alice’s Adventures in Wonderland The Snowman and the Snowdog Benedict Cumberbatch Reads Sherlock Holmes’ Rediscovered Railway Stories: Four Original Short Stories Sapiens: A Brief History of HumankindMore

[Appium] Prevent building WDA with useXctestrunFile or usePrebuiltWDA

Building WDA every time takes much time to initialise Appium sessions for iOS. I assume many users would like to reduce the initialisation time as possible. xcodebuild can run xcuitest process without building them. The command is xcodebuild test-without-build. If you already have a build module, xcodebuild can use it without additional building process. Appium…More

Read「APIデザインケーススタディ」

APIデザインケーススタディを読んだ。 Rubyを題材に、色々なAPIに関して話を展開しているものだった。変化の歴史など。 socketやtime zoneの話など、Rubyという言語、それ以外のいくつかの言語など。Unix系のシステムから抽象化しているところ、沿っているとことなど。 実際、いくつか少なくとも意識せずに使っていたAPIなんかの意図を知ることができたことはとてもよかった。More

A note of reading “A Philosophy of Software Design”

I’ve read “A Philosophy of Software Design“. I expected the book had basic concepts to make software better than design patterns for implementation. As my prediction, the book had good insight to write better software based on their experiences. I would pick some sentences. FB had a motto about “Move fast and break things to…More

A couple of days ago, I had a conversation about Android tests on Twitter. I would leave it here a note. The conversation was: How to run UI tests in order Is there any good way to make them stable? How to get a system dialogue via Espresso? We discussed: It’s better to use RuleChain…More

「Suspend関数のはなし」を読んだ

suspend関数のはなしを読んだ。 Kotlinの、suspend関数がどのように実現されているのか、を色々と解説している書籍。細切れのブロックに分けていたり(捉え方として)、それを順に実行している、という話があった。そのため、suspend関数の存在は知りつつもその内部実装がどうなっているのかまで把握していなかったが私でも内容をかなり想像できた。 coroutineをある程度知っていることを前提に話が進みます。多少知っていると想像できるかと思いますが、全く知らない人は以下を読むなどして把握してから読むと良さそう。 https://codelabs.developers.google.com/codelabs/kotlin-coroutines/#0 https://kotlinlang.org/docs/reference/coroutines/coroutines-guide.html [update] Good to read https://karino2.github.io/kotlin-lesson/suspend_intro.html to understand the suspend function as a userMore

[JS]debug using Chrome Dev Tools via VSCode

Chrome provides brilliant toolchain to develop JavaScript, Chrome Dev Tools. I usually connect to the debug console via inspect you can open it on the browser. Meanwhile, the inspector is kind of heavy when you would like to open only console debug interface. I started using the inspector via VSCode. I could open an arbitrary…More

[Appium][Flutter]Espresso driver x Flutter

I have updated my sandbox repository for Flutter x Appium. Update test app based on Flutter 1.0 Update test scenarios for it In Android, I could launch and through a simple scenario with UIA2 driver. But I could not succeed to launch it with Espresso driver. Below log is here Something happened with instrumentation combination……More