Skip to main content

Auto-tests generator.

Project description

[![](https://travis-ci.org/lycantropos/liable.svg?branch=master)](https://travis-ci.org/lycantropos/liable “Travis CI”) [![](https://img.shields.io/github/license/lycantropos/liable.svg)](https://github.com/lycantropos/liable/blob/master/LICENSE “License”) [![](https://badge.fury.io/py/liable.svg)](https://badge.fury.io/py/liable “PyPI”)

In what follows python3 is an alias for python3.6 or any later version.

Installation

Install the latest pip & setuptools packages versions

`bash python3 -m pip install --upgrade pip setuptools `

### Release

Download and install the latest stable version from PyPI repository

`bash python3 -m pip install --upgrade liable `

### Developer

Download and install the latest version from GitHub repository

`bash git clone https://github.com/lycantropos/liable.git cd liable python3 setup.py install `

Bumping version

Install [bumpversion](https://github.com/peritus/bumpversion#installation).

Choose which version number category to bump following [semver specification](http://semver.org/).

Test bumping version

`bash bumpversion --dry-run --verbose $VERSION `

where $VERSION is the target version number category name, possible values are patch/minor/major.

Bump version

`bash bumpversion --verbose $VERSION `

Note: to avoid inconsistency between branches and pull requests, bumping version should be merged into master branch as separate pull request.

Running tests

Plain

`bash ./run-plain-tests.sh -r $PATHS_TO_MODULES ` where $PATHS_TO_MODULES is a list of whitespace-separated paths (absolute or relative) to target Python modules (e.g. liable). Flag -r (or its analogue –recursive) says to search in given Python paths recursively.

Inside Docker container

`bash docker-compose up `

Inside Docker container with remote debugger

`bash ./set-dockerhost.sh docker-compose up `

Bash script (e.g. can be used in Git hooks) `bash ./run-tests.sh `

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

liable-0.0.1.tar.gz (19.2 kB view details)

Uploaded Source

File details

Details for the file liable-0.0.1.tar.gz.

File metadata

  • Download URL: liable-0.0.1.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for liable-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5da66d264e639c56562f25c57a542bcafc736cf2475c9f98ade8806f765b67e7
MD5 55cae7537b2178f6a184b856be097016
BLAKE2b-256 2d07168787834cb8d339f93290973635e4224a8c4c6226a5352174b11c6548a6

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