Skip to main content

Create and run executable specifications with Pythonic BDD style grammar

Project description

Specit

Specit assists in creating and running executable specifications. It was inspired by specloud and and Jasmine.

Features

  • uses nose for discovering and running specs

  • provides a base set of matchers for defining expectations

Installation

You can install upgrade or uninstall specit with these commands:

> pip install specit
> pip install -U specit
> pip uninstall specit

If you do not have pip you may use easy install:

> easy_install specit

If you done have easy_install, you may download the specit source distribution archive. Extract it and run:

> python setup.py install

Usage

Below is a simple example showing how you use the builtin matchers to craft readable specifications for your code:

>>> from specit import expect
>>> fruit = 'Orange'
>>> expect(fruit).to_equal('Orange')
>>> expect(fruit).to_equal('Apple')
Traceback (most recent call last):
    ...
AssertionError: Expected 'Orange' to equal 'Apple'

Copyright (c) 2010 - Rudy Lattae. Released under the New BSD License.

Changelog

0.1.2a (2010-12-08)

  • First public release

TODO

  • Provide better documentation and package information

  • package url?

  • distutils, setuptools or distribute?

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

specit-0.1.2a.zip (7.9 kB view details)

Uploaded Source

Built Distribution

specit-0.1.2a.win32.exe (205.0 kB view details)

Uploaded Source

File details

Details for the file specit-0.1.2a.zip.

File metadata

  • Download URL: specit-0.1.2a.zip
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for specit-0.1.2a.zip
Algorithm Hash digest
SHA256 4aa650f8447edc21100d6ff2197afcb01e3f487f8b4fbe88f903bea98fc80290
MD5 52ec7cadf990c94fca0ba4e21cda3988
BLAKE2b-256 ea3a318f29588ce142a741367d3744285c28e658e812ba0f51afec797d343fd8

See more details on using hashes here.

File details

Details for the file specit-0.1.2a.win32.exe.

File metadata

  • Download URL: specit-0.1.2a.win32.exe
  • Upload date:
  • Size: 205.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for specit-0.1.2a.win32.exe
Algorithm Hash digest
SHA256 4eb2c85592f734fd6e8e7d079f692532df49d0abf8bb866828e1220ee419ea5b
MD5 d5eabfb0e86ffda8e294e15bc9fa8f05
BLAKE2b-256 98937737fe6f14193ab9cd7969a906fd99fd7c56caea37547f3d28187562f60a

See more details on using hashes here.

Supported by

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