Skip to main content

Learning basic control structures and basic datastructures from Tests by David Arroyo Menéndez'

Project description

What?

That's a package to run tests about basics of Python. For example, lists, strings, for, dictionaries, ...

Installing

$ mkdir venv-damebasics

$ python3 -m venv venv-damebasics

$ cd venv-damebasics

$ source bin/activate

$ pip3 install damebasics

Run tests!

All tests

$ cd damebasics

$ ./runtests.sh

Single file of tests

$ pytest tests/test_arithmetics.py

Single test

$ pytest tests/test_arithmetics.py::TddInPythonExample::test_arithmetics_calculator_returns_correct_result

Give me the package

https://python-packaging.readthedocs.io/en/latest/minimal.html

To install from local:

$ pip install -e .

To install create tar.gz in dist directory:

$ python3 -m build

To upload to pypi:

$ twine upload dist/damebasics-0.2.tar.gz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

damebasics-0.2.2.tar.gz (174.1 kB view details)

Uploaded Source

File details

Details for the file damebasics-0.2.2.tar.gz.

File metadata

  • Download URL: damebasics-0.2.2.tar.gz
  • Upload date:
  • Size: 174.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for damebasics-0.2.2.tar.gz
Algorithm Hash digest
SHA256 909ced1d25d6e869ce1c82fa98f4cc135b0f2c5f132e4e7a5641c87b9906d13f
MD5 c5825dc5b76bcc26f759b3eb91812af9
BLAKE2b-256 cd9a95f92b6d1d5de5957469cef4a70e0f9ce7649d204a18cd8d2f129b323ddb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page