Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 4

This unit testing framework, dubbed 'PyUnit' by convention, is a Python language version of JUnit. JUnit was written by smart cookies Kent Beck and Erich Gamma, and is, in turn, a Java version of Kent's Smalltalk testing framework. Each is the de facto standard unit testing framework for ... [More] its respective language, and therefore both are a strong basis for an effective and elegant Python framework. [Less]

4.14286
   
  0 reviews  |  23 users  |  1,589 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

SST (selenium-simple-test) is a framework built on top of Selenium WebDriver, using Python to make writing functional web tests easier with code.

5.0
 
  0 reviews  |  3 users  |  5,622 lines of code  |  9 current contributors  |  Analyzed 3 days ago
 
 

A .Net dynamic fake/mock/stub framework for creating all types of fake objects, mocks, stubs etc. Easier semantics, all fake objects are just that - fakes - the use of the fakes determines whether they're mocks or stubs. Context aware fluent interface guides the developer. Full VB.Net ... [More] support. Designed for ease of use and for compatibility with both C# and VB.Net. [Less]

5.0
 
  0 reviews  |  2 users  |  24,337 lines of code  |  11 current contributors  |  Analyzed 3 days ago
 
 

cript unit tests from the command line and from inside of Visual Studio. It also supports running in the TeamCity continuous integration server.

0
 
  0 reviews  |  1 user  |  86,282 lines of code  |  9 current contributors  |  Analyzed 5 days ago
 
 

A framework for writing repeatable tests in the OCaml programming language.

0
 
  0 reviews  |  1 user  |  302 lines of code  |  0 current contributors  |  Analyzed about 4 hours ago
 
 

GAE Testbed is a suite of base test cases to make it simple to test the more complicated pieces of Google's AppEngine framework. It provides base cases and helper methods to test many of the AppEngine APIs such as the Mail API, DataStore API, and Memcache API.

5.0
 
  0 reviews  |  1 user  |  483 lines of code  |  1 current contributor  |  Analyzed about 2 years ago
 
 

A python script that generates unit testing glue code for a C++ frame work that lets you easily write unit tests. It has console, xml, html, and GTK+ output options, and works under Windows, Linux, and OpenBSD. It should 'just work' under most *nixen.

0
 
  0 reviews  |  0 users  |  2,576 lines of code  |  0 current contributors  |  Analyzed about 22 hours ago
 
 

MockitoPP C++ Mocking FrameworkA C++ mocking framework inspired by the ideas developed for Mockito written by Szczepan Faber, et al. The purpose is to provide similar construction semantics for creating mock objects leading to smaller, more readable test cases. It is designed to be a lightweight ... [More] framework allowing you to mock dependencies for a system under test using a simple descriptive domain specific language. The goal is to help create simpler, less brittle test cases; ultimately, leading to less maintenance overhead in the future. How Does It Work?MockitoPP uses ABI and template techniques to create mock delegate classes that intercept calls intended for any abstract base class you care to model. The techniques used to construct the mock objects are similar to the techniques used by Automatic Mock Object for C++ (amop), Hippo Mocks and Member Function Pointers and the Fastest Possible C++ Delegates. By exploiting the compiler's ABI class layout we can dynamically construct a mock delegate class to provide minimal stubbed functionality used during unit testing. Requirementsoptional: Google C++ Testing Framework (if compiling/running unit tests) optional: Hamcrest (if using hamcrest argument matchers) optional: C++ Technical Report 1 or Boost C++ Libraries (if using regex argument matcher) LimitationsThis framework really only supports pure virtual abstract base classes (i.e. interface). The mocking construction only works for virtual functions declared in the target class to mock. You cannot use it to stub calls to non-virtual functions. In some cases it may be possible to mock a class that is not a pure abstract base class (i.e. hybrid class containing both virtual and non-virtual functions), but you may encounter unexpected results if other objects are expecting the mock object to operate under normal circumstances (i.e. maintain state) or have internal wired dependencies that operate on the object's state. [Less]

0
 
  0 reviews  |  0 users  |  3,918 lines of code  |  2 current contributors  |  Analyzed 3 days ago
 
 

nosetty is a plugin for nose, a test runner for python. It accepts various commands at the terminal, giving you some one-on-one quality time with your tracebacks. Most importantly, editing a failure point is as easy as typing a number. How about a screenshot? Installeasy_install nosettyget ... [More] the easy_install command here. Development versions are available as: easy_install nosetty==dev...or via subversion at http://nosetty.googlecode.com/svn/trunk/ UsageActivate the plugin like so: nosetests --ttyBut to get some useful results, you'll have to tell it how to hook into your editor and other things. All this is described in detail on the Recipes page. To give the plugin a whirl, you can checkout the source and type... cd src/nosetty easy_install . nosetests -w examples --tty...to get what's shown in the above screenshot. Project PageIf you're not already there, the nosetty project lives on google code. Please submit any bugs, patches, failing tests, et cetera using the Issue Tracker. [Less]

0
 
  0 reviews  |  0 users  |  673 lines of code  |  0 current contributors  |  Analyzed 13 days ago
 
 

Flexible Javascript Unittest Framework中文说明见:http://pickerel.javaeye.com/admin/blogs/277775 A tiny yet flexible javascript unit test framework, feature: 1.Support synchronize and async test. 2.Customizable test results ui. 3.Expandable assertion mechanism.usage1.basic usage: ... [More] window.onload = function(){ var test1 = new testcase("my firest test", { setup: function(){this.val = "abc";}, teardown: function(){this.val = null;alert("test completed.");}, test_get_name: function(){ this.assert_equal("abb", this.val, "test get name"); this.assert_not_equal("abb", this.val); } }; test1.run(); }2.test asyn methods: function xhttp(url, callback) { if (typeof XMLHttpRequest != 'undefined') { httpRequest = new XMLHttpRequest(); } else if (typeof ActiveXObject != 'undefined') { httpRequest = new ActiveXObject('Microsoft.XMLHTTP'); } httpRequest.open('GET', url, true); httpRequest.onreadystatechange = function () { if (httpRequest.readyState == 4) { callback(httpRequest.responseText); } }; httpRequest.send(null); } window.onload = function(){ var test1 = new testcase("my firest test", { setup: function(){this.val = "abc";}, teardown: function(){this.val = null;alert("test completed.");}, test_get_name: function(){ this.assert_equal("abb", this.val, "test get name"); this.assert_not_equal("abb", this.val); }, test_get_name1: function(){ this.assert(false); throw "this is an exception"; }, async_test_google: function() { var self = this; xhttp("http://www.google.com", function(html){ self.assert(html.indexOf("google") > 0); self.complete(); }); }, async_test_yahoo: function() { var self = this; xhttp("http://www.yahoo.com", function(html){ self.assert(html, "google"); self.assert(html.indexOf("yahoo") > 0); self.complete(); }); } }); test.run(); } faq1.how can i do async test? a.the test method name must start with 'async_test_' b.call this.complete() when the async method is completed.2.how to custom the output ui? create a new testcase_ui object and implement the methods: var myui = function(test){ this.test = test; this.on_inited = function(){}; this.on_assert_success = function(assert_name, method_name){}; this.on_assert_failed = function(assert_name, method_name, default_message, message){}; this.on_error = function(method_name, e){}; this.on_completed = function(test){}; } then attatch it to the testcase with: new testcase("name", {...}, new myui()); or var test = new testcase... test.ui = new myui();3.support assertions: assert assert_equal assert_not_equal assert_null assert_not_null assert_match assert_not_match 4. how to add my own assert method? it's easy to do, just add the method as below: testcase_assertion.prototype.assert_blabla = function(...) { //var default_msg = "actual is not null"; //var bool = (actual == null); //this.do_assert("assert_null", bool, msg, default_msg); }; [Less]

0
 
  0 reviews  |  0 users  |  325 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.