UCL for Code in Research

5/9 Research Software Engineering with Python (COMP233) - Testing with Python

Testing your software is part of development. In this episode I talk about different types of testing, automated tests, legacy code etc. My guest is Stef Piatek from UCL who tells us how he approaches testing in his daily work.

Links

  • https://docs.python.org/3/library/unittest.html
  • https://docs.pytest.org/
    • https://docs.pytest.org/en/7.1.x/how-to/monkeypatch.html PyTest Monkeypatch
  • https://agiledata.org/essays/tdd.html test driven development TDD
  • https://en.wikipedia.org/wiki/Extreme_programming
  • https://joss.readthedocs.io/en/latest/review_criteria.html criteria for open source software reviews, which includes a section on testing
  • https://www.freecodecamp.org/news/a-practical-guide-to-start-opensource-contributions/
  • https://docs.github.com/en/actions GitHub Actions
  • https://martinfowler.com Martin Fowler's great web site. Also look out for his book:
    • Working Effectively With Legacy Code - Michael Feathers, 2004, ISBN: 8601400968741

Don't be shy - say Hi

This podcast is brought to you by the Advanced Research Computing Centre of the University College London, UK.
Producer and Host: Peter Schmidt