はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    WWDC25

『Quality Coding』

  • 人気
  • 新着
  • すべて
  • How to Safely Parse JSON into Swift Immutable Models with TDD | Quality Coding

    4 users

    qualitycoding.org

    This may be a fine acceptance test. But we can do better for unit testing. Here are the things I find problematic: Large, often externalized input. I discuss this at the very beginning of my JSON parsing screencast.The need to define Equatables all the way down. I discuss this in Let’s Stop Overusing Swift Equatables in Unit Tests.Hunting for mismatches. When a mismatch occurs, the assertion fails

    • テクノロジー
    • 2017/04/12 22:06
    • あとで読む
    • try! Swift Tokyo: Want to Visit Charming / Quirky Japan? | Quality Coding

      3 users

      qualitycoding.org

      First, let me point out the conference’s logo/mascot. The Swift bird has never been so adorable! Without a doubt, this is the cutest tech conference logo I’ve ever seen. Talks The conference spans 2 days, in a single-track format. Talks are limited to 20 minutes, so things keep moving along quickly. (As a speaker, it was a nice challenge to have to condense my thoughts into a 20-minute talk.) Almo

      • テクノロジー
      • 2017/03/29 08:25
      • あとで読む
      • try! Swift Tokyo 2017 Slides & Code | Quality Coding

        14 users

        qualitycoding.org

        And here is sample code. Build SwiftMocks.xcworkspace and run the tests. Experiment with changing things in Waiter.swift to see how the tests report those changes. The official repository of Swift Hamcrest is here. Recommended BookDisclosure: The book link below is an affiliate link. If you buy anything, I earn a commission, at no extra cost to you. Refactoring: The Improving the Design of Existin

        • テクノロジー
        • 2017/03/03 16:08
        • swift
        • tryswiftconf
        • あとで読む
        • Objective-C init: Why It’s Helpful to Avoid Messages to self | Quality Coding

          3 users

          qualitycoding.org

          I sometimes talk to myself. Our classes often do. But there are a couple of places where doing so is risky in Objective-C: init and dealloc. This post is part of the Code Smells in Objective-C series. Here’s something I see a fair bit in code for Objective-C init and dealloc. I’ll give a simple example. Can you tell what’s wrong? - (id)initWithFoo:(id)foo { self = [super init]; if (self) self.some

          • テクノロジー
          • 2013/07/08 14:27
          • 9 Ways You Can Avoid ObjC Xcode Preprocessor Macros | Quality Coding

            7 users

            qualitycoding.org

            With few exceptions, using Xcode preprocessor macros is a code smell. C++ programmers have had this beat into them: “Don’t use the preprocessor to do something the language itself provides.” Unfortunately, more than a few Objective-C programmers have yet to get that message. This post is part of the Code Smells in Objective-C series. Here’s a handy command to run from Terminal. It examines source

            • テクノロジー
            • 2013/03/06 18:21
            • Objective-C
            • ios
            • How to Easily Measure Code Coverage in Xcode | Quality Coding

              4 users

              qualitycoding.org

              One of the first things I do when working on any Xcode project is set up code coverage. If the coverage shows a hole, I know that area is lacking unit tests. (Be careful, the opposite isn’t true: Just because some code has been touched by unit test execution doesn’t mean it’s actually covered. If altering the behavior of the code causes a test to fail, then you know it’s covered.) Many people use 

              • テクノロジー
              • 2013/03/06 12:44
              • ios
              • How to Do UIViewController TDD | Quality Coding

                3 users

                qualitycoding.org

                This screencast focuses on the question I get the most: “Do you do test-driven development for view controllers?” It’s clearly a roadblock for many people. This screencast should remove that roadblock. It also answers the question, “Is it worth doing?” Improve your test writing “Flow.” Sign up to get my test-oriented code snippets. Outline: Three types of unit test verificationView controller unit

                • エンタメ
                • 2013/01/24 16:34
                • ios
                • video
                • Objective-C TDD: How to Get Started | Quality Coding

                  10 users

                  qualitycoding.org

                  Test-driven development (TDD) is a series of small steps. It can be difficult to grasp until you see those steps demonstrated. That’s why I made this screencast. It was sparked by a Stack Overflow question that said, “All the examples of unit testing I read about seem to be extremely simple and trivial.” The question asks how to write unit tests for a piece of sample code that uses NSUserDefaults.

                  • テクノロジー
                  • 2012/12/30 09:05
                  • objective-c
                  • testing
                  • develop
                  • ios
                  • video
                  • Quality Coding

                    6 users

                    qualitycoding.org

                    Trying to be agile without the technical agile practices leads to frustration. Learn how to build maintainable iOS test code and production code. Then you can “respond to change,” because your code won’t fight you. Subscribe to our newsletter on Quality Coding techniques for iOS developers. You’ll receive free code snippets that will help you write unit tests more quickly. Quality Coding is about

                    • テクノロジー
                    • 2012/05/05 22:17
                    • testing
                    • slide
                    • ios

                    このページはまだ
                    ブックマークされていません

                    このページを最初にブックマークしてみませんか?

                    『Quality Coding』の新着エントリーを見る

                    キーボードショートカット一覧

                    j次のブックマーク

                    k前のブックマーク

                    lあとで読む

                    eコメント一覧を開く

                    oページを開く

                    はてなブックマーク

                    • 総合
                    • 一般
                    • 世の中
                    • 政治と経済
                    • 暮らし
                    • 学び
                    • テクノロジー
                    • エンタメ
                    • アニメとゲーム
                    • おもしろ
                    • アプリ・拡張機能
                    • 開発ブログ
                    • ヘルプ
                    • お問い合わせ
                    • ガイドライン
                    • 利用規約
                    • プライバシーポリシー
                    • 利用者情報の外部送信について
                    • ガイドライン
                    • 利用規約
                    • プライバシーポリシー
                    • 利用者情報の外部送信について

                    公式Twitter

                    • 公式アカウント
                    • ホットエントリー

                    はてなのサービス

                    • はてなブログ
                    • はてなブログPro
                    • 人力検索はてな
                    • はてなブログ タグ
                    • はてなニュース
                    • ソレドコ
                    • App Storeからダウンロード
                    • Google Playで手に入れよう
                    Copyright © 2005-2025 Hatena. All Rights Reserved.
                    設定を変更しましたx