Skip to content

loqwai/jest-typescript-minimal

Repository files navigation

Pair Programming Shiz

Links

The Pair Programming "Game"

2 "Players" alternate rolls "Fry" and "Zoidberg"

  1. Fry Makes the simplest test that can possibly fail
  • Usually using "AAA Testing": Arrange, Act, Assert
  1. Zoidberg makes the test pass in the simplest way possible (by being adversarial)
  • a heuristic for "Simplest" is the Transformation Priority Premise
  1. Zoidberg makes the next simplest test that can possibly fail
  2. Fry makes the test pass in the simplest way possible (by being adversarial)
  3. Repeat until completed

Example game using Gin Rummy "Melds"

Rules of Gin Rummy

  • who cares? We're dealing with a subset

Gin Rummy valid "Melds"

  • three or four cards sharing the same rank, e.g. 8♥ 8♦
  • sequences of three or more cards in the same suit, such as 3♥ 4♥ 5♥ or more Les do it!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published