Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.411.814 Times

SpecLoud 0.3.1

Company: Hugo Lopes Tavares
Date Added: November 11, 2013  |  Visits: 316

SpecLoud

Report Broken Link
Printer Friendly Version


Product Homepage
Download (32 downloads)



SpecLoud is a Python module to use nosetests and plugins to take BDD specifications easier.<br /><br />Installation<br /><br />The easiest way to install specloud is using pip and requirements file:<br /><br />pip install --no-deps specloud -r http://github.com/hugobr/specloud/raw/master/requirements.txt<br /><br />Or you can try finding dependencies by yourself and installing specloud without requirements file.<br /><br />Usage<br /><br />Get a python file with BDD-style test names (starting with it, ensure, should, must, spec, example) and add them to the test suite<br /><br />For example:<br /><br />cat example.py<br /><br />import unittest<br /><br /><br />class CalculatorSpec(unittest.TestCase):<br /><br /> def it_should_sum_integers(self):<br /> # ...<br /> pass<br /><br /> def should_not_divide_by_zero(self):<br /> # ...<br /> pass<br /><br /> def must_accept_floats(self):<br /> # ...<br /> pass<br /><br /> def ensure_it_work_with_fractions(self):<br /> # ...<br /> pass<br /><br /> def test_subtract_positive_from_negative_numbers(self):<br /> # ...<br /> pass<br /><br />The command line tool specloud colorizes green for tests with no failures and no errors and red for tests with failures and/or errors:<br /><br />specloud example.py<br /><br />Calculator spec<br />- ensure it work with fractions<br />- it should sum integers<br />- must accept floats<br />- should not divide by zero<br />- subtract positive from negative numbers<br /><br />----------------------------------------------------------------------<br />Ran 5 tests in 0.003s<br /><br />OK<br /><br />How It Works<br /><br />SpecLoud is a python package that install nose, pinocchio and figleaf packages, so it can call nosetests with pinocchio and figleaf plugins. nosetests is called with some default options to find test methods and pinocchio to show pretty and colored messages. figleaf is just pinocchio dependency.<br /><br />A call to:<br /><br />specloud FILE<br /><br />is the same doing:<br /><br />nosetests -i '^(it|ensure|must|should|specs?|examples?)' -i '(specs?(.py)?|examples?(.py)?)$' '--with-spec' '--spec-color'<br /><br />Old Name<br /><br />The project was born as a proof of concept and I named it firstly pyunitbdd. But that's a terrible name. So I renamed the project to specloud.<br /><br /><br />#md5=65fc6ac2b58ea7e34d343254abb222c3

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Called Colored Default Ensure Failures Figleaf Install Module Nosetests Options Packages Pinocchio Plugins Pretty Project Python Requirements Specloud Tests
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


SPECLOUD RELATED
Libraries  -  dtRdr::Plugins::Library 0.0.11
dtRdr::Plugins::Library is a Perl module that can handle library plugins. SYNOPSIS init dtRdr::Plugins::Library->init(config => $config);.
2.8 MB  
Libraries  -  Module::Build 0.2808
Module::Build is a Perl module for build and install Perl modules. SYNOPSIS Standard process for building & installing modules: perl Build.PL ./Build ./Build test ./Build install Or, if youre on a platform (like DOS or Windows) that...
184.32 KB  
Modules  -  Flag Friend 7.x-1.0-alpha7
Flag Friend aims to be a lightweight friending module utilizing the excellent Flag module's API.Flag Friend 1.x implements a default "friend" flag and is limited to one type of relationship.Flag Friend 2.x branch will support an arbitrary number...
20.48 KB  
Modules  -  YQL Views Query Backend 6.x-1.0-alpha2
This module provides YQL Query backend for Views 3.x. For documentation, please refer to the Advanced Help page of this module, the default view provided by this module and you can watch the Screencast.Furthermore, default view (yql_sushi and...
51.2 KB  
Modules  -  Readability Analyzer 7.x-1.0-rc2
This module is designed to help copywriters and editors develop more consistently readable content across a Drupal site. It performs five popular automated readability tests that provide a grade level equivalency of the difficulty of a page's...
10 KB  
Libraries  -  Getopt::Plus 0.98
Getopt::Plus is a Perl module with options wrapper with standard options, help system and more. FILE_SIZE_HUMAN Map from file size in bytes to human name, as hashref, keys being name (full name, lowercase, no trailing s) and abbrev...
47.1 KB  
Database Tools  -  Dee Module 0.11
Dee Module implements a truly relational database language using Python.
 
Security Tools  -  EventSentry Light 2.92 Build 25
EventSentry is the proactive, real-time monitoring solution that watches over your servers, workstations and network devices to ensure maximum availability and that also helps with SOX, HIPAA and other compliance requirements. With EventSentry you...
24.3 MB  
Development Tools  -  Rip: Ruby's Intelligent Packaging 0.0.5
Rip is a simple and powerful way to install and manage Ruby packages. Install-time dependency checking, virtual environments, a flexible plugin system, and liberal package sources (git, gem, single files, etc) make it a compelling alternative to...
30.72 KB  
Security Tools  -  EventSentry Light 2.71
EventSentry is the proactive , real-time monitoring solution that watches over your workstations, servers and network devices to ensure maximum availability and that also helps with SOX, HIPAA and other compliance requirements. With EventSentry...
17.5 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB