{"id":16024950,"url":"https://github.com/ptomulik/scons-tool-cxxtestgen","last_synced_at":"2026-07-02T17:09:57.245Z","repository":{"id":57464571,"uuid":"153332803","full_name":"ptomulik/scons-tool-cxxtestgen","owner":"ptomulik","description":"SCons tool for cxxtestgen command","archived":false,"fork":false,"pushed_at":"2020-04-17T09:49:25.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-06T14:07:55.632Z","etag":null,"topics":["cxxtest","python","scons","scons-library","tool"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ptomulik.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-16T18:15:40.000Z","updated_at":"2020-04-17T12:37:14.000Z","dependencies_parsed_at":"2022-08-31T00:10:24.639Z","dependency_job_id":null,"html_url":"https://github.com/ptomulik/scons-tool-cxxtestgen","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ptomulik/scons-tool-cxxtestgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptomulik%2Fscons-tool-cxxtestgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptomulik%2Fscons-tool-cxxtestgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptomulik%2Fscons-tool-cxxtestgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptomulik%2Fscons-tool-cxxtestgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptomulik","download_url":"https://codeload.github.com/ptomulik/scons-tool-cxxtestgen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptomulik%2Fscons-tool-cxxtestgen/sbom","scorecard":{"id":748871,"data":{"date":"2025-08-11","repo":{"name":"github.com/ptomulik/scons-tool-cxxtestgen","commit":"64159045472754afc7267d846f87466351ef0aba"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T19:40:23.186Z","repository_id":57464571,"created_at":"2025-08-22T19:40:23.186Z","updated_at":"2025-08-22T19:40:23.186Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35055683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cxxtest","python","scons","scons-library","tool"],"created_at":"2024-10-08T19:40:38.746Z","updated_at":"2026-07-02T17:09:57.194Z","avatar_url":"https://github.com/ptomulik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"scons-tool-cxxtestgen\n=====================\n\n.. image:: https://badge.fury.io/py/scons-tool-cxxtestgen.svg\n    :target: https://badge.fury.io/py/scons-tool-cxxtestgen\n    :alt: PyPi package version\n\n.. image:: https://travis-ci.org/ptomulik/scons-tool-cxxtestgen.svg?branch=master\n    :target: https://travis-ci.org/ptomulik/scons-tool-cxxtestgen\n    :alt: Travis CI build status\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/ptomulik/scons-tool-cxxtestgen?svg=true\n    :target: https://ci.appveyor.com/project/ptomulik/scons-tool-cxxtestgen\n\nSCons_ tool for cxxtestgen_ command.\n\nInstallation\n------------\n\nThere are few ways to install this tool for your project.\n\nFrom pypi_\n^^^^^^^^^^\n\nThis method may be preferable if you build your project under a virtualenv. To\nadd cxxtestgen tool from pypi_, type (within your wirtualenv):\n\n.. code-block:: shell\n\n      pip install scons-tool-loader scons-tool-cxxtestgen\n\nor, if your project uses pipenv_:\n\n.. code-block:: shell\n\n      pipenv install --dev scons-tool-loader scons-tool-cxxtestgen\n\nAlternatively, you may add this to your ``Pipfile``\n\n.. code-block::\n\n    [dev-packages]\n    scons-tool-loader = \"*\"\n    scons-tool-cxxtestgen = \"*\"\n\n\nThe tool will be installed as a namespaced package ``sconstool.cxxtestgen``\nin project's virtual environment. You may further use scons-tool-loader_\nto load the tool.\n\nAs a git submodule\n^^^^^^^^^^^^^^^^^^\n\n#. Create new git repository:\n\n   .. code-block:: shell\n\n      mkdir /tmp/prj \u0026\u0026 cd /tmp/prj\n      touch README.rst\n      git init\n\n#. Add the `scons-tool-cxxtestgen`_ as a submodule:\n\n   .. code-block:: shell\n\n      git submodule add git://github.com/ptomulik/scons-tool-cxxtestgen.git site_scons/site_tools/cxxtestgen\n\n#. For python 2.x, create ``__init__.py`` in ``site_tools`` directory:\n\n   .. code-block:: shell\n\n      touch site_scons/site_tools/__init__.py\n\n   this will allow to directly import ``site_tools.cxxtestgen`` (this may be\n   required by other tools).\n\nUsage example\n-------------\n\n#. Create simple test file\n\n   .. code-block:: cpp\n\n      // MyTestSuite1.t.h\n      #include \u003ccxxtest/TestSuite.h\u003e\n      class MyTestSuite1 : public CxxTest::TestSuite\n      {\n      public:\n        void testAddition(void)\n        {\n          TS_ASSERT(1 + 1 \u003e 1);\n          TS_ASSERT_EQUALS(1 + 1, 2);\n        }\n      };\n\n#. Create simple SConstruct file\n\n   .. code-block:: python\n\n      # SConstruct\n      # TODO: uncomment following lines if the tool is installed via pip/pipenv\n      # import sconstool.loader\n      # sconstool.loader.extend_toolpath(transparent=True)\n      env = Environment(tools = ['cxxtestgen'])\n      env.CxxTestGen('MyTestSuite')\n\n#. Try it out:\n\n   .. code-block:: shell\n\n      scons\n\nBuilders\n--------\n\n- ``CxxTestGen([target], sources, **kw)`` - invokes ``cxxtestgetn ...``.\n- ``CxxTestGenPart([target], sources, **kw)`` - invokes ``cxxtestgen --part ...``,\n  this is used to generate ``*.t.cpp`` files which define tests but have no\n  ``main()``.\n- ``CxxTestGenRoot(target, **kw)`` - invokes ``cxxtestgen --root ...``, this\n  pseudo-builder generates the root ``*.t.cpp`` file that provides the\n  ``main()`` function, should be used in pair with ``CxxTestGenPart``.\n\nConstruction variables used\n---------------------------\n\nThe following SCons construction variables might be used to customize the\n**cxxtestgen** tool.\n\n+------------------------+---------------------------------------------------+\n|        Name            |                      Description                  |\n+========================+===================================================+\n| CXXTESTBINPATH         | search path for cxxtest executables/scripts; by   |\n|                        | default it includes the following locations:      |\n|                        |                                                   |\n|                        | - ``$CXXTESTINSTALLDIR/bin``,                     |\n|                        | - ``$CXXTESTINSTALLDIR/python/python3/scripts``,  |\n|                        | - ``$CXXTESTINSTALLDIR/python/scripts``,          |\n|                        |                                                   |\n|                        | in that order.                                    |\n+------------------------+---------------------------------------------------+\n| CXXTESTGEN             | path to cxxtestgen python script; by default it   |\n|                        | will contain a result of search, first in         |\n|                        | ``$CXXTESTBINPATH``, then in SCons ``PATH``.      |\n+------------------------+---------------------------------------------------+\n| CXXTESTGENFLAGS        | additional flags to be passed to cxxtestgen.      |\n+------------------------+---------------------------------------------------+\n| CXXTESTGENPYTHON       | python interpreter to be used to run cxxtestgen;  |\n|                        | by default it is being chosen automatically;      |\n|                        | python3 is preferred, but if the cxxtestgen seems |\n|                        | to not support it, python2 is picked up; if       |\n|                        | neither python3 nor python2 are available in      |\n|                        | standard SCons search PATH, ``sys.executable``    |\n|                        | (the interpreter running SCons script) is used.   |\n+------------------------+---------------------------------------------------+\n| CXXTESTGENRUNNER       | name of the listener class for cxxtestgen (used   |\n|                        | as ``--runner=$CXXTESTGENRUNNER``); defaults to   |\n|                        | ``ErrorPrinter``.                                 |\n+------------------------+---------------------------------------------------+\n| CXXTESTGENSUFFIX       | suffix for files produced by cxxtestgen (.t.cpp). |\n+------------------------+---------------------------------------------------+\n| CXXTESTGENSRCSUFFIX    | suffix of cxxtestgen's input files (.t.h).        |\n+------------------------+---------------------------------------------------+\n| CXXTESTINSTALLDIR      | root directory of custom cxxtest installation;    |\n|                        | defaults to ``#/cxxtest``, where ``#``  is the    |\n|                        | project's top-level directory.                    |\n+------------------------+---------------------------------------------------+\n\n\nLICENSE\n-------\n\nCopyright (c) 2018-2020 by Paweł Tomulik \u003cptomulik@meil.pw.edu.pl\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE\n\n.. _scons-tool-cxxtestgen: https://github.com/ptomulik/scons-tool-cxxtestgen\n.. _scons-tool-loader: https://github.com/ptomulik/scons-tool-loader\n.. _SCons: http://scons.org\n.. _pipenv: https://pipenv.readthedocs.io/\n.. _pypi: https://pypi.org/\n.. _cxxtestgen: http://cxxtest.com/guide.html#cxxtestgen\n\n.. \u003c!--- vim: set expandtab tabstop=2 shiftwidth=2 syntax=rst: --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptomulik%2Fscons-tool-cxxtestgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptomulik%2Fscons-tool-cxxtestgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptomulik%2Fscons-tool-cxxtestgen/lists"}