Upgrade to Pro — share decks privately, control downloads, hide ads and more …

stop_testing_start_storytelling_selfconf.pdf

tmikeschu
August 15, 2018
33

 stop_testing_start_storytelling_selfconf.pdf

tmikeschu

August 15, 2018
Tweet

Transcript

  1. TIME TOPIC 1 Who Is This Person? 2 Goals 7

    Testing Paradigms 20 Storytelling 10 Mad Libs 5 Wrap-up 2 — 74 @tmikeschu
  2. describe("Stop Testing, Start Storytelling", () => { before(() => {

    tmikeschu.prepareForTalk() tmikeschu.getButterfliesInFormation() meetup.garnerInterest() audience.map(showUp) }) after(() => { audience.map(goHome).map(thinkDifferently) }) it("gives people perspective on and confidence in testing", () => { const actual = audience .map(stopTestingStartStorytelling) .flat_map(takeAways).uniq const expected = ["perspective", "confidence"] expect(actual).toEqual(expected) }) }) 13 — 74 @tmikeschu
  3. describe "testing paradigms" do it "covers different testing paradigms" do

    actual = stop_testing_start_storytelling.testing_paradigms expected = ["test last", "test first", "test driven", "behavior driven"] expect(actual).to eq(expected) end end 14 — 74 @tmikeschu
  4. bonus word: para-dig-MAT-ic (adj) a framework containing the basic assumptions,

    ways of thinking, and methodolog[ies] [for discovering new ideas] that are commonly accepted by members of a scientific community.1 1 http://www.dictionary.com/browse/paradigm 16 — 74 @tmikeschu
  5. The thing that's supposed to happen is the the thing

    that happens. ! 18 — 74 @tmikeschu
  6. describe "testing paradigms" do it "covers different testing paradigms" do

    actual = stop_testing_start_storytelling.testing_paradigms expected = ["test last", "test first", "test driven", "behavior driven"] expect(actual).to eq(expected) end end 27 — 74 @tmikeschu
  7. func TestStoryTellingAndSoftware(t *testing.T) { var ( actual []string expected []string

    ) actual = stopTestingStartStorytelling.StorytellingAndSoftware() expected = []string{"communication", "context", "abstraction", "encapsulation"} if actual != expected { t.Error("Expected talk to cover communication, context, abstraction, and encapsulation, got: ", actual) } } 31 — 74 @tmikeschu
  8. · Programs solve problems · Programming is a problem-solving process

    · The problems we solve solve problems 53 — 74 @tmikeschu
  9. Maybe the principles that make better programs can also result

    in better programming? 54 — 74 @tmikeschu
  10. func TestStoryTellingAndSoftware(t *testing.T) { var ( actual []string expected []string

    ) actual = stopTestingStartStorytelling.StorytellingAndSoftware() expected = []string{"communication", "context", "abstraction", "encapsulation"} if actual != expected { t.Error("Expected talk to cover communication, context, abstraction, and encapsulation, got: ", actual) } } 55 — 74 @tmikeschu
  11. Still learning the domain specific language (DSL)? /* description: developers

    assert: should be mindful of context actual: perspective while implementing expected: developer actual should be the same as expected actual: perspective while testing expected: user actual should be the same as expected */ 56 — 74 @tmikeschu
  12. describe("Stop Testing, Start Storytelling", () => { before(() => {

    tmikeschu.prepareForTalk() tmikeschu.getButterfliesInFormation() meetup.garnerInterest() audience.map(showUp) }) after(() => { audience.map(goHome).map(thinkDifferently) }) it("gives people perspective on and confidence in testing", () => { const actual = audience .map(stopTestingStartStorytelling) .flat_map(takeAways).uniq const expected = ["perspective", "confidence"] expect(actual).toEqual(expected) }) }) 73 — 74 @tmikeschu