New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-driven development in Python #57

Closed
ttimbers opened this Issue Jan 5, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@ttimbers

ttimbers commented Jan 5, 2016

Details

Does your code work correctly? How do you know if it does? In this session we'll be learning about a programming method called test-driven development where you write tests for a function before you start to write the function. Sound strange? It might not be intuitive but such an approach is thought to produce better code faster because it helps programmers figure out what the function is actually supposed to do and removes bias when developing tests for your code (prevents you from subconsciously writing tests to show that your code is correct, rather than to find errors).

Where: Simon Fraser University, Burnaby Campus, Library Research Commons
When: 11:30 am - 12:30 pm, Monday, January 11, 2016

Prerequisite knowledge: Entry level Python
Dependencies: Python 3 (or higher)


Etherpad: https://etherpad.wikimedia.org/p/2016-01-11-SFU
Notes: https://github.com/PHY3009/testing/blob/master/test_driven_development.ipynb

@ttimbers ttimbers closed this Jan 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment