タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

tutorialとiosとtestingに関するefclのブックマーク (8)

  • Test Driving iOS - A Primer

    In case you missed it, our own Britt Ballard (a fellow native Texan) published a fantastic post in our Back to Basics series on test-first methodology. My only issue with it is that the entire post is written in this super obscure language called Ruby! So I wanted to take a look at the same methodology from the point of view of an iOS developer, in tried and true Objective-C. Our desired code We w

    Test Driving iOS - A Primer
    efcl
    efcl 2014/04/18
    Specta,OCMockを使ったテストチュートリアル
  • Kiwi+CocoaPodsで始めるiOSアプリの振る舞いテスト入門

    Kiwi+CocoaPodsで始めるiOSアプリの振る舞いテスト入門:iOSアプリ開発でもCI/継続的デリバリしようぜ(2)(1/4 ページ) 現代の開発現場において欠かせないCI/継続的デリバリを、iOSアプリ開発に適用するためのツールやノウハウを解説する連載。今回は、iOSアプリの機能の振る舞いをテストするテスティングフレームワークの特長とインストールの仕方、主な使い方を解説します。 前回の「iOSアプリ開発でCI/継続的デリバリ環境を始めるための4種の神器」では、CI/継続的デリバリ環境を構築するために必要なツール・サービスを紹介しました。 今回はiOSアプリのためのテスティングフレームワークの1つである「Kiwi(キウィ)」を使った振る舞いテストの書き方について解説します。 振る舞いをテストするテスティングフレームワーク「Kiwi」とは KiwiはiOSアプリケーションの機能の振る

    Kiwi+CocoaPodsで始めるiOSアプリの振る舞いテスト入門
    efcl
    efcl 2014/04/07
    Kiwiチュートリアル
  • iOS UI Testing with KIF

    Users expect a high level of polish from iOS apps, so it’s up to you to design, develop and test your apps to meet ever-rising expectations. Think about it for just a moment: How much time have you poured into conducting basic manual user interface testing? You know the drill…launching your app from Xcode, and incessantly tapping the same series of buttons to make sure no regressions slipped into

    efcl
    efcl 2014/02/21
    KIFを使ってiOSアプリのUIテストをする
  • GitHub - akuraru/iOSxTDD: Sample application of test driven ios development

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - akuraru/iOSxTDD: Sample application of test driven ios development
    efcl
    efcl 2014/02/11
    iOSでTDDをするサンプル。 Kiwiを利用
  • iOSでTDDをしてみる-Kiwi編 - Qiita

    今回はBDD系のフレームワークであるKiwiの導入と簡単なコードの説明をしていこうと思います。 https://github.com/akuraru/iOSxTDD/compare/0.2.1...1.0 Kiwiの概要 BDD(振る舞い駆動開発)を支援するためのフレームワークです。要求仕様に近い形でテストコードを記述することが出来ます。Kiwiはモックやスタブ、非同期テスト用の機能が実装されています。 https://github.com/allending/Kiwi 要するにXCTestでは書きづらいテストが多くあるので、書きやすくするフレームワークを使いましょうということです。 他にもテストを支援するフレームワークは多く存在するので調べてみてください。 Kiwiをターゲットに追加 Kiwi追加する方法はCocoaPodsを使うのが一般的でしょう。下記のようにPodfileにtarge

    iOSでTDDをしてみる-Kiwi編 - Qiita
    efcl
    efcl 2014/02/08
    KiwiでのTDDチュートリアル
  • Alex Vollmer — Making Fun of Things with OCMock

    OK, I've done plenty of ranting about the state of TDD in Cocoa development. So instead of inflicting more whining on your ears, I've decided to figure out how to get better at this. This is the first in a series of posts I'll be doing about testing in Cocoa. We're going to look at OCMock, a framework for creating and using mock objects in your Cocoa tests. This isn't the only tutorial out there o

    efcl
    efcl 2013/09/11
    OCMockを使ったテストのチュートリアル. OCMock の使い方についてまとまってる.
  • iOS開発でのユニットテストを身につけるには

    テストがないコードはクソとか、このテストツールこそ至高みたいな話が世に溢れているわけですが、 そういう状況になってくると、どうやって始めたらいいのかわからなかったりすると思います。 そういう人のために、何を読んで勉強し、何を使って何を書くと始めやすいかという抽象的な解説をしようと思います。 テストフレームワークの選択 テスト初心者の最初の壁はフレームワークの選択です。 iOSのテストについて調べると、SenTestingKitはクソとかGHUnit最高とかKiwiこそ至高とか言っている人がいると思います。 ですが、入門に最も適しているのはSenTestingKitです。 セットアップが他と比べて簡単だということと、機能が十分に小さくて機能に溺れることがないということが理由です。 SenTestingKitの使い方を学ぶ いきなり突き放すようなんですが、Appleの公式のドキュメントを読むの

    efcl
    efcl 2013/08/31
    iOSのユニットテストにどこから入門するか。 SenTestingKitについて
  • iPhone Unit Testing Explained - Part 1 — Paul Solt

    Here's the first part of a multi-part iPhone Unit Testing Series. (Updated 3/31/12 with Xcode 4 testing) For the second part of iPhone Unit Testing Explain - Part II How comfortable are you on a bike without a helmet? Writing code without tests is like riding a bike without a helmet. You might feel free and indestructible for now, but one day you'll fall and it's going to hurt. I can't start a new

    efcl
    efcl 2011/12/19
    iOSのユニットテストチュートリアル
  • 1