https://github.com/MobSF/Mobile-Security-Framework-MobSF https://github.com/mwrlabs/needle https://github.com/mwrlabs/drozerMore
Category Archives: test automation
[Kotlin]SoftAssertions with Kotlin and AssertJ
Hi there, Do you know soft assertions provided by AssertJ? In many cases, one test case has one assertion. But sometimes we’d like to collect some assertions within one assertion, and then we can use SoftAssertions() for the purpose. Of course, we can use AssertJ in JUnit. In addition, we can use it in Kotlin…More
[Appium]Get invisible elements
uiautomator2 start supporting findInvisibleElement. https://github.com/appium/appium-uiautomator2-server/issues/61 After the following method, you can get invisible elements from uiautomator2. https://github.com/appium/ruby_lib/blob/cc913edb4bc24c18a58c2c5490dfb7b5a705d303/lib/appium_lib/common/command.rb#L46More
Classification Treeの歴史
知らなかったので、メモMore
[iOS]What’s new Testingを見た
What’s new Testingを見た。 https://developer.apple.com/videos/play/wwdc2017/409/ 見ている途中でいくつかメモしたので、その記録として… multiple appのテスト、URLを引数で与えることできるのね Accessibility Dataのところで説明しているsnapshot、WebDriverAgentが使っているやつぽいな おー。いちいちsnapshot取得する必要がなくなるのか。実行時間改善しそう 要素の検索で全捜査でなくて最初にマッチしたものだけさっと返すようにした、という話だけれど、ようやくという感じ。 ここら辺は元からそうなのでそうよねという感じだ。 ここはどこまで厳密に書くかはどれだけ内部実装と結合を強くするかの問題ですね。Espressoでも同じ問題をもつ。 地味に嬉しい Activity styleの書き方、Cucmberとかイメージすると良さそう。stepsにいろんな処理を入れて、シナリオはstepsを並べて記述するような感じが使い方として近そうだ。 非同期の奴も良さそう。XCTestなので、XCUITestでも使えるし。 snapshotのところはほんといろんな3rd partyも恩恵受けるだろうし、良いことづくしな気がする。けれど、これはXcode8でないと使えないOSテストするときは恩恵受けられないので、完全に恩恵を教授できるのは数年後かな… Xcode9のいくつかの機能、Xcode9以前でも使えると恩恵大きくて良いな…More
[ReactNative][Test]Detox instead of Appium
2017/06/08現在 過去、ReactNativeに対するUITestに関して書いていたのですが、今の段階ではAppiumよりはDetoxを使うほうが、JSを経由したテストツールとしては良さそう https://github.com/wix/detox EarlGreyも参考にしている所とかあり、より安定したUIテストを実施するには現実的な気がします。 Androidのサポートも計画されているので、必要に応じてコミットしたいですね。 参考: [ReactNative][Appium]testIDの振られ方More
Netflixの複雑なマイクロサービスに対するテスト自動化
とても面白い。 Netflixの、マイクロサービス環境下におけるテストの複雑さを解決しようと取り組んでいたことの内容と、その1年の成果が書かれている。 here 読んでいてもとても面白く、テストエンジニアという立場からすると純粋にとても挑戦的に面白い内容だと思った。 また、社内の利用をより簡単に、利用者に負担をかけない取り組みも良いですね。 カッコ良い。More
[iOS][EarlGrey]Run tests quickly
Small, small tips to enhance conducting speed for EarlGrey. In many cases, iOS can’t handle animation speed such as Android even UI Test cases. EarlGrey available changing animation speed except for UIScrollView. here https://github.com/google/EarlGrey/blob/master/docs/faq.md In XCUITest case:More
Watch “Test-Driven Development on Android with the Android Testing Support Library”
pick and past some key images to the following. A famous test pyramid Development Lifecycle for UI Component Development Lifecycle for non-UI, especially unit level, Component Robolectric Espresso’s lifecycle Boundaries between M level and L level Previously, I’ve published blog for test strategy for mobile. This video is similar to the article 🙂 https://t.co/VCXspJxccw /…More
[iOS]Input multibyte strings with EarlGrey
Usually, we use grey_typeText to input words into text fields. On the other hand, we can’t input multibyte strings such as Japanese with the method. In this case, we can use grey_replaceText instead. https://github.com/google/EarlGrey/issues/31More