When I ran android tests on OS 8.1 emulators, I faced some ARN dialog by Google bundled apps. They led test failure related with UI, Espresso, because of the dialog remained on the UI. To reduce the error, we can implement like below code in TestRunner. https://github.com/KazuCocoa/EspressoEnv/pull/8/files If the dialog appears before running tests, we…More
Category Archives: development
[iOS][Appium]How to debug, set break points, WebDriverAgent
Debugging WebDriverAgent is tricky. Appium uses the library to run tests against iOS. In this article, I’d like to leave how to debug WebDriverAgent using Appium. You can set break points in arbitrary lines on WebDriverAgent via Xcode following below. On Xcode Clone the repository and finish the setup Open WebDriverAgent.xcodeproj with Xcode Open Edit…More
[iOS][Appium]Process Arguments by Appium for XCUITest, iOS
Today, I’d like to leave a tip. I’ve implemented test cases using this article for over 3 years. It helped us to control test environment more stable and fast. XCUITest can set process arguments for Instrumentation. According to https://github.com/appium/appium-xcuitest-driver#desired-capabilities, you can set processArguments in capability and the test app can get the value via ProcessInfo.…More
Read “Continuous Delivery with Spinnaker”
I read Continuous Delivery with Spinnaker to catch up with Spinnaker and the bases. Recent my profession is mobile, but I have some experience/knowledge of distributed systems since I studied the Byzantine General Problems in my university. And I also has caught up with network/tools/fundamentals associated with it. (Especially testing and monitoring topics.) You can…More
[Android]some mocking features work only on Android P+
One of my colleagues told me Mockk. The library is pure Kotlin mocking library. An interesting thing for me is Android instrumentation support. I had a question when I saw that why Android P was a limitation. Since it provide mocking feature for final classes / objects in instrumentation tests. I investigated a bit and…More
[iOS]xctestrunner by Google
Note for me. https://github.com/google/xctestrunner Runner written by Python. It helps running test commands.More
Create a PR to update outdated libraries by script
Updating outdated libraries is important. Longtime outdated libraries probably lead difficult updating libraries. Sometimes they have breaking changes. We can reduce the risk updating libraries frequent and keep them small size. Meanwhile, it’s difficult to catch up with ALL outdated libraries and updating them frequently. Since our works aren’t only updating them. Get outdated libraries…More
[Android]New release of ATSL and new feature of composer
Lately, I’ve been using composer to run instrumented tests in the Android world. ([Android]composer and swarmer) Today, I just found an interesting PR. => https://github.com/gojuno/composer/pull/138 The PR is emulating the behaviour like AndroidTestOrchestrator. As you know, the orchestrator has some limitations and it includes Parameterized tests aren’t currently supported. It is JUnit4’s feature. So, the…More
[Appium]Image comparison with Appium and other libraries
In general, we compare two images when we’d like to detect differences between them in visual. I believe OpenCV and ImageMagick are famous tools to achieve the purpose lately. But sometimes we faced building errors, for example. So, I’ve used a simple enough comparison tool. That is Kobold. The library uses blink-diff as a comparison…More
[git]remove local git branches
Note for me to get rid of local git branches.More