[automation]try Katalon

https://www.katalon.com/ これを少し触ってみた。 感想としては、これは https://docs.katalon.com/display/KD/Installation+and+Setup 以下の結果を参考にすると良さそう。 このツールの目的は、Selenium/Appiumを使ったテストを記述/管理する労力を減らそうというものぽい。特に、コードを自分で書かなくて良い状態で。 なので、以下の比較を見るとわかるのだけれど、例えば専属の自動化エンジニアを抱えるところとか、そういうところはターゲットではないように見える。 https://www.katalon.com/blog/comparison-automated-testing-tools/ Emerging solution with a small community. Feature set is still evolving. Lack of choices for scripting languages: only Java/Groovy is supported.More

Allure2が開発途中だった

Test reporterの生成で有名どころと言えばAllureがありますね。Yandexのメンバが開発しているやつです。 最近、そのv2が開発されていることを知りました。 https://github.com/allure-framework/allure2 Gradleを使っていたので、早速Forkして使ってみることに。 人が増えて、テスト結果を複数人で見る必要が出てきた時に、こういう結果レポートから情報をざっと見ることができるツールはとても重宝しますね。 受託系の人たちはこういうことを欲する一方、Web系の人はそうでもない人も多いように見えます。 ただ、実施時間など含めて色々とまとめて情報をみたい場合、このようなUIを持ったツールは役に立つものです。More

[iOS]Bluepill1.0.0

Bluepillの1.0.0がリリースされていたのでメモ。 https://github.com/linkedin/bluepill/releases/tag/v1.0.0 XCUITestサポートが少し前に完了し、1.0.0になったようですね。 https://github.com/plu/pxctest/releases こちらに比べて、さすがに企業としての投資が違うのか、開発がBluepillの方が活発だ… 後、Bluepillはテストケースを分割して実行したりと、そういったオプションも豊富で使い勝手が良いですね。 https://github.com/linkedin/bluepillMore

[java]Parameterized test with JUnit4.12

最近知ったのですが、JUnit4のParameterized.classに name 属性を付与できるようになったのですね。 https://github.com/junit-team/junit4/wiki/Parameterized-tests https://github.com/junit-team/junit4/wiki/Parameterized-tests#identify-individual-test-cases エラーの可読性などを見ると、組み合わせテスト用のDataPointsを使ってしまう面もありましたが、name属性が付与されるようになったことで、パラメータ化テストではParameterized.classをそのまま使えそう。 なるほどね…More

[iOS]run tests on simulators vol2

[iOS]Run multi simulators with FBSimulatorControl にも書いている、iOSシミュレータを1つのマシンで複数動作させるやつ。最近ではLinkedInからOSSが公開されましたね。Blogはこちら。スターも多く、さすがLinkedInという感じ。 社内で FBSimulatorControl ベースの複数シミュレータで実行する環境を作ろうと思っていたけれど、もっと素晴らしいものが世に出てきててオォォォという感じ…(私、価値出せてない…) ここら辺、実装能力が顕著に現れて私は本当にまだまだと思う一方です。。。 以下、以前からある類似のものをピックアップ。 類似 https://github.com/linkedin/bluepill https://github.com/plu/pxctest このeBayに属している方、とても価値出している… https://github.com/plu/parallel_ios_tests 以前はxctoolを使って並列実行をサンプルとして実施可能にしていたのですが、今はpxctestをベースにしているらしいですね https://github.com/facebook/FBSimulatorControl 過去のBlogにも書いやつ。最近のこれ系のツールはこれを基本としていることが多い。 これを実施していると、正直なところ並列実行できないCloud実行環境はイマイチですね。 ローカル環境強し。。。More

Architecture for GUI Testing(mobile)

In 2014, I talked about GUI testing architecture. 20141018 selenium appium_cookpad from Kazuaki Matsuo Recently, someone asks me about the architecture.So, I post the blog about it. The following flow means the architecture. I think this architecture is common if anyone uses libraries such as Cucmber. Scenario layer Describe scenarios. This layer depends on “User…More

[React][iOS][Android]Try ReactNative + TypeScript

以下を参考に、ReactNative + TypeScriptでアプリを書いてみる。 ReactNativeでは testID としてiOSはaccessibilityIdentifier、AndroidはView#setTag/getTagが使われている。(ただ、2016/9ごろにAndroidに対してresource idを付与できるようになったとあったので、ReactNativeでもresource idベースでも今後は大丈夫かも) 以下を参考にした。環境構築周り。 https://medium.com/react-weekly/react-native-and-typescript-ad57b7413ead#.el446eisr https://github.com/mrpatiwi/ReactNativeTS https://medium.com/react-weekly/react-native-and-typescript-ad57b7413ead#.3cdqtxsr2 https://github.com/KazuCocoa/MyFirstReactNativeTS ただ、上記のどれもそのままでは動作しなかったので、本格的にはまだ触っていない。More

Read Advanced-Test-Automation-Engineer-Syllabus

ソフトウェアテスト/品質界隈だとISTQBやJSTQBは耳にする機会が比較的多いのではないでしょうか。 その中で、以下のようにadvances test automation engineerのシラバスが公開されていたので読んでみました。ジックリとではないのですが、流してどのようなことが書かれているのかをざっと。 http://www.istqb.org/downloads/category/48-advanced-level-test-automation-engineer-documents.html 内容はテスト自動化の話をテストケースの話から実装時の設計の話、実行、レポートの話までと順に書いていました。実装時の設計のところらへんで、データ駆動とかキーワード駆動、プロセス駆動などの話があったりしました。 ざっと見た感じ、開発者からテスト側によっている人の方が読みやすい(想像しやすい)のかなーと思いました。More

[WebDriver]WebDriver and Mobile JSON Wire Protocol Specification and Appium

I investigated some feature regarding with Selenium3 and associated with it. So, I put some memos I found here. PR for appium_lib to use webdriver-selenium 3.0 in the library https://github.com/appium/ruby_lib/pull/383 Appium server’s routes are: https://github.com/appium/appium-base-driver https://github.com/appium/appium-base-driver/blob/master/lib/mjsonwp/routes.js The routes are based on the following spec: https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md This spec differs from W3C. So, webdriver-selenium 3.0‘s some commands…More

learning Rx

Reactiveを再度ざっと振り返るために、以下のlearnrxをやった。 http://reactivex.io/learnrx/ map や filter 、 reduce や take など、Elixirを学んだりしていると自然と学んだものだった。 Reactive、非同期通信とか扱いやすいけれどやっぱり使いすぎるとコールバックばかりでテストコードを書くことが大味になるし、使うのは適度が良さそう。More