Skip to content

jarrvis/nimoy

 
 

Repository files navigation

Nimoy

A testing and specification framework for Python 3, heavily inspired by the amazing Spock Framework.

PyPI version Build Status

Installation

pip install nimoy-framework

Why?

The Spock Framework has set a new standard as to what testing frameworks should be like - beautiful, expressive, pragmatic and fun.

While unittest, pytest and nose2 are great, there’s still room for improvement.

The aim of this project is to port Spock to Python while maintaining the original vision as much as possible.

Features

  • Based on unittest, so minimal dependencies are required and specifications are recognized by IDEs and report analyzers.

  • Reduction of boilerplate code.

  • Write detailed specifications with clear distinction.

  • Auto discovery of specifications.

  • Write data-driven specifications.

  • Pretty mock behavior assertion.

  • See fancy detailed assertion failure reports.

License

Apache License 2.0

In memory of Leonard Nimoy 1931-2015

About

A testing and specification framework for Python 3

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%