7 Matching Annotations
  1. Nov 2020
  2. Apr 2020
    1. The practice of test-driven development is where you actually write the tests first, then write the code to pass more and more tests until all of them pass.

      Essence of TDD

    1. It’s still a good idea to keep your code in three different buckets, and keep these buckets isolated from each other:Display/UI ComponentsProgram logic/business rules — the stuff that deals with the problem you’re solving for the user.Side effects (I/O, network, disk, etc.)

      How do I organize my code like this? What's the directory structure look like.

  3. Mar 2018
  4. Oct 2017
    1. Test first development, also known as Test Driven Development (TDD) is a development style in which you write the unit tests before you write the code to test.

      Actually, there's a lot of debate regarding this exact distinction. It's a question of whether Test First Programming is the same as Test Driven Development.

      The answers lie, however, into the intent of approach.

  5. Oct 2016
    1. We shouldn’t actually care what the target/action values on the bar button item are. We should only care about what happens when it is pressed. Everything else is an implementation detail

      "We should only care about what happens when it is pressed"

      We have target and action in the button, so we don't need to test for target and action separately, we can simulate the behavior instead. We shouldnt cae about implementation details

  6. Sep 2016