Giter Club home page Giter Club logo

cpputest.github.io's Introduction

cpputest.github.io

CppUTest website

cpputest.github.io's People

Contributors

apbarrero avatar basvodde avatar corentinmusard avatar devmichaeljones avatar dinuirar avatar joel0 avatar jwgrenning avatar katcipis avatar mainro avatar martinmoene avatar ni2c2k avatar peterbraun avatar ryanplusplus avatar saraf avatar terop avatar terryyin avatar thealbertdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cpputest.github.io's Issues

Warning mail

The page build completed successfully, but returned the following warning:

You are attempting to use the 'pygments' highlighter, which is currently unsupported on GitHub Pages. Your site will use 'rouge' for highlighting instead. To suppress this warning, change the 'highlighter' value to 'rouge' in your '_config.yml'. For more information, see https://help.github.com/articles/page-build-failed-config-file-error/#fixing-highlighting-errors.

GitHub Pages was recently upgraded to Jekyll 3.0. It may help to confirm you're using the correct dependencies:

https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0

For information on troubleshooting Jekyll see:

https://help.github.com/articles/troubleshooting-jekyll-builds

If you have any questions you can contact us by replying to this email.

Clean up Plugins example code for SetPointerPlugin

I'm having a problem compiling AllTests.cpp after adding the setup code which seems to be recommended in Plugin Manual re: SetPointerPlugin . My AllTests.cpp looks like this:

#include "CppUTest/CommandLineTestRunner.h"

int main(int ac, char** av)
{
    TestRegistry* r = TestRegistry::getCurrentRegistry();
    SetPointerPlugin ps("PointerStore");
    r->installPlugin(&ps);

    return CommandLineTestRunner::RunAllTests(ac, av);
}

but when I compile it (gcc:10), I get an error:

$ make ./test-obj/1/2/tests/AllTests.o
compiling AllTests.cpp
tests/AllTests.cpp: In function ‘int main(int, char**)’:
tests/AllTests.cpp:11:34: error: incomplete type ‘TestRegistry’ used in nested name specifier
   11 |  TestRegistry* r = TestRegistry::getCurrentRegistry();
      |                                  ^~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [/home/keith/e2_studio/Ranger/CppUTest/build/MakefileWorker.mk:511: test-obj/1/2/tests/AllTests.o] Error 1

After searching for SetPointerPlugin in the CppUTest source files, in function int CommandLineTestRunner::runAllTestsMain() the SetPointerPlugin is installed in the registry by default, with no extra setup code being needed in main(). So it seems that the setup code shown for installing it should be removed from Plugin Manual re: SetPointerPlugin.

Typo in CppUMock manual

There is a typo in the MyTypeComparator example code. Specifically on the line:
virtual SimpleString valueToString(cont void* object). I assume that cont should be const.
I am aware that this is a minor issue but it could still be fixed. I can make a PR if it is necessary.

Updating documentation with new functionality

@basvodde - I am currently working on a PR to document the new functionality that will be part of CppUTest v3.8 (and also update some that has always been missing)

  1. You can view the updated pages at http://arstrube.github.io.
  2. Would it be possible for you to link cpputest with Coveralls? It doesn't really make sense to display coverage from my fork, which is the only thing I can do right now. I really think the badge should be here.
  3. The Doxygen section is not really useful at all, in my opinion. Improving it would involve a lot of work (and probably some comments in the code) so my suggestion is to remove the link:
    • It does not include CppUTestExt
    • It displays all the internal stuff nobody is interested in
    • It does not give a good summary of what would be truly important for a user (e.g. Testharness.h, Testharness_c.h, CommandlineTestRunner.h, UtestMacro.h MockSupport.h, Mocksupport_c.h, MockExpectedCall.h and MockActualCall.h and probably a few others), especially as the links to source file are 404.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.