Lately, ML related technologies step into industry section and many engineers challenge to integrate them into their services. The movement also comes into test/quality industry. I also have some ideas to use them though. A few weeks ago, I found a service which named mabl which provides ML-driven test automation service. The service run tests…More
Category Archives: test automation
Read a part of “Practical Monitoring”
I was interested in the book for a long time. The O’Reilly has published a part of the book and I also read it to know the book. Practical Monitoring Just I read only one section. I couldn’t more monitoring stuff in this book, but I got some antipatterns. Anti-Pattern #1: Tool Obsession Anti-Pattern #2:…More
[Elixir]property based testing with stream_data
Elixir will bundle property-based testing in the core. http://elixir-lang.github.io/blog/2017/10/31/stream-data-property-based-testing-and-data-generation-for-elixir/ We can see the prototype for the library from https://github.com/whatyouhide/stream_data . The following lines are the example I applied the library before. https://github.com/KazuCocoa/http_proxy/pull/47/commits/11bf6ff5a763c97c3ec6c7bc4a1811de53a6d0c2 We can see more details from https://hexdocs.pm/stream_data/StreamData.html and you can see how flexible the methods. link [Erlang][Software Test]Property-based testing/QuickCheck Testing https://www.cs.tufts.edu/~nr/cs257/archive/john-hughes/quick.pdfMore
Watching FB’s Android at Scale
I watched FB’s Android at Scale: https://code.facebook.com/posts/1958159731104103/android-scale-2018-recap/ I put my memo which I got interested in. Automated Testing Practices @ Scale: Waseem Ahmad, Facebook I know almost tips and same thought. Facebook have 10~15 UI changes a day So, they run UI related test hourly Bisect changes to commit and notify another UI testing things…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
[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
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
[Appium][Android]Scrolling to an element
Just for my memo When we scroll views using Appium, then we have two ways to achieve it. 1: Use UiScrollable The below method is implemented in Ruby client. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an…More