Build VMs, containers, AI, databases, storage—all in one place.
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Earn up to 16% annual interest with Nexo.
More flexibility. More control.
Generate interest, access liquidity without selling, and execute trades seamlessly. All in one platform.
Geographic restrictions, eligibility, and terms apply.
Draper adds an object-oriented layer of presentation logic to your Rails application. Without Draper, this functionality might have been tangled up in procedural helpers or adding bulk to your models. With Draper decorators, you can wrap your models with presentation-related logic to organize and test this layer of your app much more effectively. Imagine your application has an Article model. With Draper, you'd create a corresponding ArticleDecorator. The decorator wraps the model, and deals...
...I solved this problem by using home made class declaration parser/generator that reads the class declaration (header file), then generates a mock class.
What you need is to run the generator and full featured mock class is there for your unittest.
----
How to use:
You need Ruby. Obtain it if you don't have it yet.
Get Tools
At your convenient directory:
git clone https://git.code.sf.net/p/cpp-tools-in-ruby/code tools
Get Mocker++11
git clone https://git.code.sf.net/p/mockerplusplus11/code mocker++
Run it
Change directory to mocker++
./Mocker++ --help
(On Mac/Unix, you may need to run dos2unix)
Code samples (unittest codes) are found in 'unittest/MockerppTest
Acceptance/regression testing framework based on full screen automation (via terminal emulation) with integrated unit testing engine (standard Ruby test/unit).
Moved to: https://github.com/tsc-collection/tsc-act
Now part of GitHub's TSC Collection available at https://github.com/tsc-collection
FORTRAN UnitTest Framework, written in FORTRAN 95. So that all FORTRAN features can be tested. FRUIT has assertion, fixture, setup, teardown, report, spec, driver generation. Rake used as build tool. Tutorials at http://fortranxunit.wiki.sourceforge.net
The core testing part is in FORTRAN, this part can be used independent of the Ruby codes.
Deploy in 115+ regions with the modern database for every enterprise.
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
RyC Unit Testing is a simple set of Ruby scripts designed to facilitate the use of Unit Testing with the C programming Language. It does all the hard work for you so you can focus on refining your code.