GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ftobia/getting-started-pytesting-code: Code examples for presentation on introductory unit testing in Python using the pytest library

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
tests
tests
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
my_cool_library.py
my_cool_library.py
 
 
pytest.ini
pytest.ini
 
 
setup.py
setup.py
 
 

Repository files navigation

getting-started-pytesting-code

Code examples for presentation on introductory unit testing in Python using the pytest library

Quick start

  1. Get the code.

     $ git clone https://github.com/ftobia/getting-started-pytesting-code.git
     $ cd getting-started-pytesting
    
  2. Make a virtualenv.

     $ virtualenv env
    
  3. Activate your virtualenv.

     $ source env/bin/activate
     (env)$
    
  4. Install pytest and the sample code library.

     (env)$ pip install pytest
     (env)$ pip install -e .
    
  5. Run pytest

     (env)$ py.test
    
  6. Play around with the code.

Tags you can use

Jump to certain points in the code using git checkout {name-of-tag}.

Tags:

  • beginning
  • bunch
  • arbitrary-markers
  • chunkify
  • install
  • is_listy

About

Code examples for presentation on introductory unit testing in Python using the pytest library

Resources

Readme
Activity

Stars

3 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.