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.352.950 Times

replaylib 0.1

Company: Scott Torborg and Mike Spinde
Date Added: November 30, 2013  |  Visits: 250

replaylib

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



This (very experimental) library allows you to install replacement stubs for httplib methods which record interactions with remote servers, and then play them back. Because urllib depends on httplib functionality, replaylib will record and play back urllib interactions as well.<br /><br />It is intended to allow streamlined tests for services which interact with remote services: e.g. payment processors, shipping APIs, etc. To use it, just:<br /><br /> 1. Run your test suite while recording with replaylib.<br /> 2. On subsequent runs, play back from replaylib. Tests will run faster, and won't require external services.<br /><br />It is fully tested, with 100% line and branch coverage, and works well with all APIs we have tried it on "in the wild".<br /><br />Note Use at your own risk!<br />Installation<br /><br />Simple as:<br /><br />$ easy_install replaylib<br /><br />Or if you prefer, download the source and then:<br /><br />$ python setup.py build<br />$ python setup.py install<br /><br />Example<br /><br />>>> import replaylib<br />>>> import urllib<br /><br />>>> replaylib.start_record()<br /># Do some stuff with urllib.<br />>>> urllib.urlopen('http://www.google.com')<br />>>> replaylib.stop_record('activity.pkl')<br /><br />>>> replaylib.start_playback('activity.pkl')<br /># Won't actually make a request to google.com<br />>>> urllib.urlopen('http://www.google.com')<br />>>> replaylib.stop_playback()<br /><br />Nose Plugin<br /><br />ReplayLib also comes with a nose plugin to make recording and playing back the interactions used by your test suites even simpler:<br /><br />$ nosetests --replaylib-record=test.pkl<br />$ nosetests --replaylib-playback=test.pkl<br /><br />License<br /><br />ReplayLib is released under the GNU General Public License (GPL). See the LICENSE file for full text of the license.<br /><br /><br />#md5=aae78b7d98dd781de1f24b1b651db444

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: General Httplib Import Interactions Nosetests Public Python Record Recording Remote Replaylib Replaylibgtgtgt Replaylibstart Record Replaylibstop Record Activityp Services Setuppy Urllib Urllibgtgtgt Urlliburlopen Httpwwwgooglecom Gtgtgt
Users rating: 0/10

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


REPLAYLIB RELATED
Programming  -  signedimp 0.3.1
This module implements an import hook for verifying Python modules before they are loaded, by means of cryptographically-signed hashes. It is compatible with PEP 302 and designed to complement the code-signing functionality of your host OS (e.g....
40.96 KB  
Libraries  -  Java::Import::Examples 0.03
Java::Import::Examples is an example of how to use Java::Import to call into Java classes. Making RMI calls from Perl One nice thing about Java is the extremely straight forward manner in which it allows you to make calls to remote objects...
28.67 KB  
Utilities  -  RPyC (remote python call) 3.2.0
RPyC, or Remote Python Call, is a transparent and symmetrical python library for remote procedure calls, clustering and distributed-computing.
45.19 KB  
Multimedia & Graphics  -  VRML97_Import 0.33
The VRML97-Import-Script is a Python-Script, that extends the capabilities of Blender to import VRML97-Files. It supports Blender since version 2.42.
33.06 KB  
Network & Internet  -  Ladon 0.7.0
Ladon is a python based framework to expose functions to multiple types of web services. For instance SOAP, JSON-WSP, HTTP POST arguments, etc. 1. Implement ... Implement your service class decorating the methods you wish to expose...
348.16 KB  
Games  -  Sphere Control 1.0
A program written in Python, extending the remote administration of Sphereserver. Provides logging, input and output filtering, user ranks, secure communication and easy extendability. It`s experimentally using wxWindows or Tkinter GUI.
181.66 KB  
Programming  -  SpecLoud 0.3.1
SpecLoud is a Python module to use nosetests and plugins to take BDD specifications easier. Installation The easiest way to install specloud is using pip and requirements file: pip install --no-deps specloud -r...
10.24 KB  
3D Graphic Tools  -  importgraph.py
importgraph.py is a Python script that attempts to extract module dependencies from the import statements in a Python project. This projects output can be fed into graphviz to produce graphs as these examples show.. Miscellaneous tools
5.12 KB  
Board Games  -  Ultra Tic Tac Toe 1.0.0
Ultra Tic Tac Toe (UTTT) is a console game board package containing tic tac toe (naughts and crosses) and connect 4 games. The version of tic tac toe in UTTT is an extention of the classic game: in addition to the traditional 3x3 board, it can be...
10.63 MB  
Multimedia & Graphics  -  NodeBox 1. 9. 2001
NodeBox is a Mac OS X application that lets you create 2D visuals using Python programming code and export them as a PDF or a QuickTime movie. Create static, animated or interactive compositions using simple primitives such as rectangles and...
1.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