This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

The purpose of Know It’s Ok is to make it as easy as possible to run your tests while you’re debugging your code. In particular, it’s main features are:

  1. It finds your tests from anywhere in your repository.
  2. It runs your tests with arguments tailored towards debugging.
  3. It only requires typing two letters: ok

Installation

Know It’s Ok is available from PyPI:

$ pip install know_its_ok

It’s only dependencies are pytest and pytest-cov, which should both be installed automatically.

Usage

You can run Know It’s Ok from anywhere in your package’s repository:

$ ok

You can also specify individual tests to run (by default they will all be run). You don’t need to specify the complete name of a test, any substring of a test will be understood. For example, if you have a test called test_foo.py, you can use this command to run it:

$ ok foo

You can also specify arguments that should be passed through to pytest (this won’t work if the argument to pytest also matches the name of one of your tests, but in practice this is never a problem):

$ ok --pdb

In order to discover your tests simply, Know It’s Ok is very opinionated about the organization of your code. In particular:

  1. Your code must be version controlled using git.
  2. Your tests must be stored in a directory called tests/, which itself must be located in the top level of your repository.
  3. Inside the tests/ directory, your tests must match the pattern: ??_test_*.py.
  4. Your tests must be written using the pytest framework.
  5. Your package must be located in a directory containing and __init__.py file.

If any of these expectations are not met, the code should raise an exception.

Release History

Release History

0.5.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
know_its_ok-0.5.0.tar.gz (14.8 kB) Copy SHA256 Checksum SHA256 Source Jan 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting