Day 10: Thursday, Feb 6th, 2014

  1. Read Testing in Python: using nose & mocks.
  2. Fill out the quiz and do some discussion.
  3. Why does cgi.py suck so much?
  4. More code analysis?
  5. Teach me mock tests?
  6. Code review of hw4.

Code review checklist

Basic rules:

  1. Does it run.
  2. Do tests pass.
  3. Spaces rather than tabs.
  4. Spaces after #.
  5. Properly spelled variable names .
  6. Try writing tests to break something. For example, do you believe their POST logic?
  7. 80 character line lengths.
  8. Test with multiple browsers.
  9. Use code coverage to find things that their tests don’t test, and see if you can break their code.

List of repositories

massiek: github site - pulls - branches - repo URL for cloning

eunbong: github site - pulls - branches - repo URL for cloning

matheusldaraujo: github site - pulls - branches - repo URL for cloning

ConnorAvery: github site - pulls - branches - repo URL for cloning

jprickles: github site - pulls - branches - repo URL for cloning

jkteuber: github site - pulls - branches - repo URL for cloning

beckhamer: github site - pulls - branches - repo URL for cloning

john3209: github site - pulls - branches - repo URL for cloning

mill1256: github site - pulls - branches - repo URL for cloning

YourBestFriend: github site - pulls - branches - repo URL for cloning

hoffm386: github site - pulls - branches - repo URL for cloning

joshshadik: github site - pulls - branches - repo URL for cloning

msweet18: github site - pulls - branches - repo URL for cloning

juru13: github site - pulls - branches - repo URL for cloning

mcdonaldca: github site - pulls - branches - repo URL for cloning

filajust: github site - pulls - branches - repo URL for cloning

leflerja: github site - pulls - branches - repo URL for cloning

FireSBurnsmuP: github site - pulls - branches - repo URL for cloning

koppmana: github site - pulls - branches - repo URL for cloning

Karmeow: github site - pulls - branches - repo URL for cloning

curljosh: github site - pulls - branches - repo URL for cloning

yispencer: github site - pulls - branches - repo URL for cloning

glisto18: github site - pulls - branches - repo URL for cloning

mannin92: github site - pulls - branches - repo URL for cloning

westjour: github site - pulls - branches - repo URL for cloning

jbull477: github site - pulls - branches - repo URL for cloning

fakestuff: github site - pulls - branches - repo URL for cloning

msu-web-dev: github site - pulls - branches - repo URL for cloning

MaxwellGBrown: github site - pulls - branches - repo URL for cloning

xavierdhjr: github site - pulls - branches - repo URL for cloning

ettemaet: github site - pulls - branches - repo URL for cloning

lieblic2: github site - pulls - branches - repo URL for cloning

bjurgess1: github site - pulls - branches - repo URL for cloning

suhkang: github site - pulls - branches - repo URL for cloning

jonest31: github site - pulls - branches - repo URL for cloning

tsloncz: github site - pulls - branches - repo URL for cloning

zhopping: github site - pulls - branches - repo URL for cloning

MattyAyOh: github site - pulls - branches - repo URL for cloning

o2themar: github site - pulls - branches - repo URL for cloning

phammin1: github site - pulls - branches - repo URL for cloning

Badsauce: github site - pulls - branches - repo URL for cloning

DuncanCYoung: github site - pulls - branches - repo URL for cloning

cameronkeif: github site - pulls - branches - repo URL for cloning

majeedus: github site - pulls - branches - repo URL for cloning

polavar3: github site - pulls - branches - repo URL for cloning

brtaylor92: github site - pulls - branches - repo URL for cloning

labrenzm: github site - pulls - branches - repo URL for cloning

QSSS: github site - pulls - branches - repo URL for cloning

sarteleb: github site - pulls - branches - repo URL for cloning

JRucinski: github site - pulls - branches - repo URL for cloning

fenderic: github site - pulls - branches - repo URL for cloning

Table Of Contents

Previous topic

Day 11: Tuesday, Feb 11th, 2014

Next topic

Day 9: Tuesday, Feb 4th, 2014

This Page

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Day 10: Thursday, Feb 6th, 2014 on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.