Skip to content

Instantly share code, notes, and snippets.

@textbook
Last active August 13, 2020 12:36
Show Gist options
  • Select an option

  • Save textbook/c901b689bf3d1fc992938007e7bee8e0 to your computer and use it in GitHub Desktop.

Select an option

Save textbook/c901b689bf3d1fc992938007e7bee8e0 to your computer and use it in GitHub Desktop.

Revisions

  1. textbook revised this gist Aug 13, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion evil-coders.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    | Tester | Evil Coder | Invigilator |
    | 👩‍💻 Tester | 👹 Evil Coder | 👨‍🏫 Invigilator |
    |---|---|---|
    | Write a failing test | Don’t read the exercise! | No talking |
    | Keep it simple | Make the test pass | Don't take large steps |
  2. textbook revised this gist Aug 13, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion evil-coders.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    | Write a failing test | Don’t read the exercise! | No talking |
    | Keep it simple | Make the test pass | Don't take large steps |
    | Try to drive the code writer to the expected solution | Try to do it in a surprising way | Don't ignore bad test feedback |
    | | | No more than 3 `||` or `&&` |
    | | | No more than 3 `\|\|` or `&&` |


    - Exercise: [Password Validator][1]
  3. textbook created this gist Aug 13, 2020.
    13 changes: 13 additions & 0 deletions evil-coders.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    | Tester | Evil Coder | Invigilator |
    |---|---|---|
    | Write a failing test | Don’t read the exercise! | No talking |
    | Keep it simple | Make the test pass | Don't take large steps |
    | Try to drive the code writer to the expected solution | Try to do it in a surprising way | Don't ignore bad test feedback |
    | | | No more than 3 `||` or `&&` |


    - Exercise: [Password Validator][1]
    - Single file test framework: [Proctor][2]

    [1]: https://github.com/CodeYourFuture/js-exercises/blob/master/week-3/Homework/mandatory/7-password-validator.js
    [2]: https://github.com/CodeYourFuture/proctor