Skip to main content
Lesson on testing Beta This lesson is in the beta phase, which means that it is ready for teaching by instructors outside of the original author team.

    Lesson on testing
    Testing
    • Testing
    • Key Points
    • Glossary
    • Learner Profiles
      • Reference
    Search the All In One page
    Testing
    %
  • Instructor View

    Summary and Setup
    1. Introduction
    2. Working with Legacy Code
    3. Test framework
    4. Test Driven Development
    5. Refactoring for Testing
    6. Testing Big Changes

    • Key Points
    • Glossary
    • Learner Profiles
    • Reference

    See all in one page

    IntroductionWhat is testing?Why (else) do we test?When to run tests?When to write tests?


    Working with Legacy CodeMeet the legacy code projectA simple end-to-end test


    Test frameworkpytest: A test frameworkWhat is code (test) coverage


    Test Driven DevelopmentTest Driven Development


    Refactoring for TestingMonolithic Main MethodsSafe Refactoring and TDD


    Testing Big ChangesMaking big changes



    This lesson is subject to the Code of Conduct

    Edit on GitHub | Contributing | Source

    Cite | Contact | About

    Materials licensed under CC-BY 4.0 by the authors

    Template licensed under CC-BY 4.0 by The Carpentries

    Built with sandpaper (0.16.12), pegboard (0.7.9), and varnish (1.0.7.9000)


    Back To Top