Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Enterprise-grade ITSM, for every business
Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.
Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
...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 unit test.
----
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 (unit test 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 Unit Test Framework FRUIT - TDD in FORTRAN
FORTRAN Unit Test 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.
A picture's worth a 1000 tests. Unit testing asserts can be difficult to use. Approval tests simplify this by taking a snapshot of the results, and confirming that they have not changed. Get more info @ http://approvaltests.sourceforge.net.
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.