Skip to content

paulross/pytest-typin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-typin

A pytest plugin for the type inferencer typin https://github.com/paulross/typin

See Build Status on Travis CI See Build Status on AppVeyor

A simple plugin to use with Pytest


This Pytest plugin was generated with Cookiecutter along with @hackebrot's Cookiecutter-pytest-plugin template.

Features

  • TODO

Requirements

  • TODO

Installation

You can install "pytest-typin" via pip from PyPI:

$ pip install pytest-typin

Usage

  • TODO

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "pytest-typin" is free and open source software

Notes

Create a cookiecutter in /Users/paulross/dev/cookiecutter/pytest-example:

502 . ~/venvs/Cookiecutter_00/bin/activate 503 which cookiecutter

In the following the plugin is 'example'

513 cookiecutter https://github.com/pytest-dev/cookiecutter-pytest-plugin

(Cookiecutter_00) pauls-mbp-2:cookiecutter paulross$ cookiecutter https://github.com/pytest-dev/cookiecutter-pytest-plugin You've cloned /Users/paulross/.cookiecutters/cookiecutter-pytest-plugin before. Is it okay to delete and re-clone it? [yes]: full_name [Raphael Pierzina]: Paul Ross email [[email protected]]: [email protected] github_username [hackebrot]: paulross plugin_name [foobar]: example module_name [example]: short_description [A simple plugin to use with Pytest]: version [0.1.0]: pytest_version [3.1.1]: Select docs_tool: 1 - mkdocs 2 - sphinx 3 - none Choose from 1, 2, 3 [1]: 2 Select license: 1 - MIT 2 - BSD-3 3 - GNU GPL v3.0 4 - Apache Software License 2.0 5 - Mozilla Public License 2.0 Choose from 1, 2, 3, 4, 5 [1]: 1 INFO:post_gen_project:Moving files for sphinx. INFO:post_gen_project:Removing all temporary license files INFO:post_gen_project:Removing jinja2 macros (Cookiecutter_00) pauls-mbp-2:cookiecutter paulross$ ls -l

514 ls -l 515 cd pytest-example/ 516 ls -l 517 ls -la

In Eclipse create an Pydev project 'pytest-example'.

In /Users/paulross/dev/cookiecutter/pytest-example:

518 cp -r * ~/Documents/workspace/pytest-example/ 519 ls -la ~/Documents/workspace/pytest-example/

In ~/Documents/workspace/pytest-example/ create a venev, install and run tests:

501 cd ~/Documents/workspace/pytest-example/ 502 which python3 503 python3 -m venv --copies ~/venvs/pytest-example_00 504 . ~/venvs/pytest-example_00/bin/activate 505 pip list 506 pip install pytest 507 pip install pytest-runner 508 pip list 509 pwd 510 ls -l 511 vi setup.py 512 ls -l tests/ 513 pytest -vs tests/ 514 grep -nrI europython2015 . 515 pytest tests/ 516 python setup.py install 517 pytest tests/ 518 pytest -vs tests/

Issues

If you encounter any problems, please file an issue along with a detailed description.

About

A pytest plugin for type inferencing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages