Best of TestDriven.io2022

  1. 1
    Article
    Avatar of testdrivenTestDriven.io·4y

    Docker for Beginners

    A Dockerfile is essentially a list of commands in the following form: INSTRUCTION arguments. The majority of the most widely used commands can be seen in the above Dockerfile. The number tells you which version of the technology the image uses (e.g., the python:3.11.0a5image uses Python:alpine)

  2. 2
    Article
    Avatar of testdrivenTestDriven.io·3y

    Python Type Checking

    Python is a strongly typed, dynamic programming language. With it being dynamically typed, types are dynamically inferred, so you can set variable values directly without defining the variable type. Strong and dynamic means that types are inferred at runtime but you can't mix types.

  3. 3
    Article
    Avatar of testdrivenTestDriven.io·4y

    Pytest for Beginners

    Pytest for Beginners Automated testing is an essential part of your development process. Well-written tests decrease the possibility of something breaking in a production environment. Tests also help you cover marginal cases and make refactoring easier. In our example app, pytest found 8 tests, and they all passed. At bottom of message, you can see how many tests passed/failed. Failing Test Your test won't always pass on the first try. In our own app, you could see how much tests were found. For more information, click here.