Modules and Packages Flashcards
Package
A package is a collection of Python modules that are related to each other
Version
A state of software, with its code and dependencies at a specific time. Usually identified with numbers
Release
A distribution of a new version of a package
Automated Test
Automated Test Scripts that test specific code for correct functionality
Unit Test
Scripts designed to test the performance of a single function
Assertion
A statement that somethng is true
Assert
Stating that something is true
What is an automated test?
it’s a test you write to check to see if your code works. A unit test tests the performance of a single function.
These tests keep your code simple so you aren’t doing extra stuff - just trying to pass the test.
Why are unit tests useful?
Tests all possible outcomes from a function, helps with scalability, improves collaboration, improves refactoring