FakeIt
C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking. (by eranpeer)
faker-cxx
C++ Faker library for generating fake (but realistic) data. (by cieslarmichal)
FakeIt | faker-cxx | |
---|---|---|
2 | 7 | |
1,295 | 362 | |
0.5% | 2.8% | |
1.7 | 9.2 | |
about 1 month ago | 2 months ago | |
C++ | C++ | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FakeIt
Posts with mentions or reviews of FakeIt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-19.
-
A tutorial on unit tests in C++ using Google Test (GTest) and Google Mock (GMock)
fakeit is awesome, have you tried it? it's almost like using a ruby mocking framework https://github.com/eranpeer/FakeIt
-
Unit testing and mocking for c++
Coming from googletest/googlemock, I found FakeIt to be a rabbit hole. In particular, I recall not being able to match const reference parameters or something strange like that -- the matcher values would dangle I think. Ah yes, this issue here: https://github.com/eranpeer/FakeIt/issues/108.
faker-cxx
Posts with mentions or reviews of faker-cxx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-10-08.
-
Introducing CI Pipeline for Clang-Format Checks in faker-cxx
For the second part of my Release 0.3 contribution to the faker-cxx project, I addressed an issue involving the addition of a Continuous Integration (CI) pipeline. The goal was to ensure that any new code pushed to the repository adheres to the clang-format configuration provided in the root folder. This was an exciting opportunity to deepen my understanding of CI/CD workflows, especially since I am actively learning about them.
-
Increasing Code Coverage in faker-cxx
For the Release 0.3 milestone of my OSD600 course, I returned to contribute to the faker-cxx library, a C++ library designed for generating realistic fake data. As someone who had previously contributed to this project, I was eager to take on a more challenging issue. This time, I focused on increasing code coverage for a specific module.
-
Contributing To Open Source - C++ Edition
However, afterward, I still wanted to do more, so I started looking for a larger project to contribute to. To my surprise, the very popular faker.js library has a C++ version in the works, faker-cxx, which I was very excited to work on!
-
Faker C++: Generate Realistic Fake Data for Testing and Development
Faker C++ is a C++ library inspired by the popular Faker.js, aimed at providing developers with a robust tool for generating fake (but realistic) data. Whether you're building test suites, populating databases, or creating demos, Faker C++ has got you covered. It's open source and under MIT license.
- C++20 Faker library
- C++ Faker library based on Faker.js
-
C++ Faker library
Hello, I started a new C++ Faker open-source library similar to faker-js/faker for generating testing data. https://github.com/cieslarmichal/faker-cxx
What are some alternatives?
When comparing FakeIt and faker-cxx you can also consider the following projects:
trompeloeil - Header only C++14 mocking framework
KmTest - Kernel-mode C++ unit testing framework in BDD-style
Hippomocks
hspp - hspp: An experimental library to bring Haskell Style Programming to C++.
upp11 - C++11 lightweight single header unit test framework