Browsing projects by Tag(s)

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

Showing page 1 of 1

Contributed features and third-party integration for Moq. Joining the Moq Contrib ProjectJust send an email to the Moq Discussions list asking to join.

0
 
  0 reviews  |  0 users  |  17,905 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

MockItNow is a mocking framework for C++. For more details, please look here: http://www.rorydriscoll.com/mockitnow You can browse the source, or download a zip file with the source, examples and UnitTest++.

0
 
  0 reviews  |  0 users  |  6,159 lines of code  |  0 current contributors  |  Analyzed about 4 hours ago
 
 

Adding in all the features I wished NMock had build in. Mocking EventsStub.On(mock_with_events).EventAdd("eventname", Is.Anything).Will(Remember.EventAdd); Stub.On(mock_with_events).EventRemove("eventname", Is.Anything).Will(Remember.EventRemove); // perform action that makes ... [More] someone listen to the event. ... //simulate firing event Event.Fire("eventname", mock_with_events, new EventArgs()); Mocking Generic MethodsStub.On(childScope) .Method(new GenericMethodMatcher("MethodName", typeof(Type1), typeof(Type2)) .Will(Return.Value(NewMock())); Stub.On(childScope) .Method(new GenericMethodMatcher("MethodName", typeof(Type1), typeof(Type3)) .Will(Return.Value(NewMock()));.Net 3.5 people can now do this... Stub.On(childScope) .Method("MethodName") .Will(Return.Value(NewMock()));Simple! DRY FixturesDerive your test fixtures from MockingTestFixture. You don't need:- mocks = new Mockery(); //or mocks.VerifyAllExpectationsHaveBeenMet();And... // Before: mockCurrencyService = mocks.NewMock(); //After: mockCurrencyService = NewMock();Note: protected override void SetUp() { ... }replaces... [SetUp] public void SetUp() { ... } [Less]

0
 
  0 reviews  |  0 users  |  577 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

A new extensible unit testing framework for .net

0
 
  0 reviews  |  0 users  |  0 current contributors
 
 

This project provides facilities for unit testing C code that interfaces with the JVM using the JNI interface. Using the testing framework catches the numerous reference leaks that are easy to create when using JNI as well as validating all method parameters. This framework contains modified ... [More] versions of check (http://check.sf.net) and CGreen (http://www.lastcraft.com/cgreen.php) [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 3 days ago
 
 

A unit testing framework for C with mocking. cmocka only requires a test application is linked with the standard C library which minimizes conflicts with standard C library headers. It is the successor (fork) of cmockery.

0
 
  0 reviews  |  0 users  |  3,962 lines of code  |  2 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.