PC8 Unit Testing How to use these resources Teachers and students are encouraged to use these resources as platforms to create their own resources, as forms of assessment and in particular as reflection pieces for learning portfolios. The resources are designed specifically to be used by students to record artefacts and reflect on their learning, in particular html and pdf resources. The Python Lessons and Tasks are designed for students to learn how to program in a practical and task driven style, both individually and collaboratively. In addition, where appropriate, students can undertake a Computational Thinking challenge and a block based coding challenge on editable html platforms, assess themselves with eTask Worksheets, and support and challenge themselves with Python video lessons. Programming Concept 8 Unit Testing Type of Resource Type ID Overview LO Unit Testing Lesson 8.0 pptx Task Driven PYTHON Lesson with embedded lesson plan and LOs 1.23 2.3 2.19 2.22 Two CT team challenges to design and unit test a suite of 3 programs (modules) pdf (fillable) Unit test your modules and store your work. Why not create a CT html file for your collaborations? 1.22 - 1.23 2.19 - 2.20 Sample code for the first CT challenge - Design a Palindrome Checker zip Flip the classroom / support the learning 1.1 1.22 2.20 Beginner's Cheat Sheet Crash Course Cheat Sheet pdf pdf Good programming is based on re-usability and resourcefulness. The suggested resources below accompany the LOs and complement the lesson. In some cases it will allow LOs to be covered to a greater extent or new LOs to be addressed. Further Resources LO Description of Related Web Resource 1.23 2.19 A magic spell needs Unit Testing - A CT Fairytale explanation 2.21 - 2.22 CS Field Guide Introduction to Testing and did we build what we said we would? 2.22 4 levels of software testing - Unit -> Integration -> System -> Acceptance A wikipedia overview of Software Testing Levels and Functional vs Non-Functional Testing 2.19 - 2.20 Writing error-free code - BBC Bitesize Errors in Syntax and Logic : The importance of Testing 1.9 An article on the use of Unit Tests in Python in the Biological Sciences