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

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

Serving Software Downloads in 976 Categories, Downloaded 29.984.946 Times

unitstorm 0.1.1

Company: Vsevolod Balashov
Date Added: September 19, 2013  |  Visits: 177

unitstorm

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)

Storm is a fast, small and powerful object-relational mapper. Try it to use in db-aware applications.<br /><br />Effective unit-testing DB-models needed:<br /><br /> * easy access to testing-DB inside testcases<br /> * setting up testing-DB before each test (and tear down after)<br /><br />To help this unitstorm provides class ModelTestCase, that can be used both in unittest and nosetest testing frameworks.<br />Simple example<br /><br />from unitstorm import ModelTestCase<br />from os import path<br /><br />import models as model # models define somewhere else<br /><br />class TestMyModel(ModelTestCase):<br /> dburi = 'postgres://test:test@localhost/test'<br /><br /> fixtures = path.join(path.dirname(__file__), 'fixtures')<br /><br /> fixture_setup = 'create.sql', 'filldata.sql'<br /> fixture_teardown = 'drop.sql'<br /><br /> sql_setup = 'INSERT INTO my_model (id, name) VALUES (1, "foo");',\<br /> 'INSERT INTO my_model (id, name) VALUES (2, "bar");'<br /> sql_teardown = 'DELETE FROM my_model WHERE id = 1;'<br /><br /> def test_stub(self):<br /> assert self.store.get(model.MyModel, 1).name == "foo"<br /><br />TODO more description (look sources)<br /><br />dburi<br /><br />db<br /><br />store<br /><br />fixtures<br /><br />fixture_setup<br /><br />fixture_teardown<br /><br />sql_setup<br /><br />sql_teardown<br /><br />Execution order: fixture_setup, sql_setup, test, sql_teardown, fixture_teardown<br /><br /><br />#md5=b35ee98b654ee57b50bad277b91b1360

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Createsql Dburi Dropsql Filldatasql Fixture Setup Fixture Teardown Fixtures Import Insert Model Models Pathjoinpathdirname File Postgrestesttestlocalhosttest Sql Setup Sql Teardown Testingdb Testmymodelmodeltestcase Unitstorm Values
Users rating: 0/10

License: Freeware Size: 10.24 KB
UNITSTORM RELATED
Installer/Uninstaller Tools  -  My Inno Setup Extensions 3.0.2
My Inno Setup Extensions is an enhanced and free, but unofficial, version of Inno Setup. Inno Setup is a most excellent and free installation builder for 16- and 32-bits programs by Jordan Russell. See http://www.jrsoftware.org for more...
1.1 MB  
File Managers  -  F-Sync 3.0
Multitask folder synchronization. Synchronize files recursively from two different folders, setup multiple tasks that are executed at regular intervals of your choosing, easy to use interface, import/export tasks to xml file.
280.6 KB  
Programming  -  setuptools_darcs 1.2.9
setuptools_darcs is a plugin for setuptools that integrates darcs. Once installed, Setuptools can be told to include in a package distribution all the files tracked by darcs. This is an alternative to explicit inclusion specifications with...
10.24 KB  
Productivity  -  Instemote 1.0.0.0
Instemote is a client for the Insteon Hub home control system. The app can only control your devices, it can't setup or configure the system. You must have you account and hub setup from another device before using this app. Enjoy!...
1024 KB  
Network & Internet  -  django-fixture-magic 0.0.2
The django-fixture-magic package contains a few extra management tools to handle fixtures. Installation: You can get fixture-magic from pypi with: pip install django-fixture-magic The development version...
10.24 KB  
Utilities  -  GDM2 Setup for Linux 0.3.0
GDM2 Setup is an utility that allows for wallpaper setting, autologin, prompted or userlist login, etc. The setup utility that comes in Karmic is missing most of the GDM1 setup utility's functionality, and this application's goal is to put it back...
20.48 KB  
Specialized Tools  -  Little Install Builder 1.0 Build 005
Little Install Builder is a simple SDI application with a tabbed interface where you can enter all the information needed by the setup program. For example: assign shortcuts and other setup specific variables, add files. You can also use the...
 
Development Editors  -  ISSI 5.1.9.0
Inno Setup Script Includes is a library of functions that can be implemented very easily into your existing setups build with Jordan Russell's Inno Setup. In the past adding some customization to Jordan Russell's Inno Setup one had to look for...
1.09 MB  
Utilities  -  JS Print Setup 0.8.2h
The JS Print Setup extension creates a global object called 'jsPrintSetup', which implements methods to get/set print Page Setup options. This is useful for developers which want to control page setup options from their javascript...
10.24 KB  
Printer Tools  -  DwinsHs 1.2.3.127
DwinsHs is a Pascal script for Inno Setup that allows you to download files from the Internet during the installation process, or visit the WEB server script. The FTP, HTTP and HTTPS protocols are supported. You can use the script in your setup...
74.94 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB