{ "info": { "author": "Pawe\u0142 Tomulik", "author_email": "ptomulik@meil.pw.edu.pl", "bugtrack_url": null, "classifiers": [], "description": "scons-tool-cxxtest\n=====================\n\n.. image:: https://badge.fury.io/py/scons-tool-cxxtest.svg\n :target: https://badge.fury.io/py/scons-tool-cxxtest\n :alt: PyPi package version\n\n.. image:: https://travis-ci.org/ptomulik/scons-tool-cxxtest.svg?branch=master\n :target: https://travis-ci.org/ptomulik/scons-tool-cxxtest\n :alt: Travis CI build status\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/ptomulik/scons-tool-cxxtest?svg=true\n :target: https://ci.appveyor.com/project/ptomulik/scons-tool-cxxtest\n\nSCons_ tool to compile and run unit tests based on cxxtest_ framework.\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 cxxtest tool from pypi_, type (within your wirtualenv):\n\n.. code-block:: shell\n\n pip install scons-tool-loader scons-tool-cxxtest\n\nor, if your project uses pipenv_:\n\n.. code-block:: shell\n\n pipenv install --dev scons-tool-loader scons-tool-cxxtest\n\nAlternatively, you may add this to your ``Pipfile``\n\n.. code-block::\n\n [dev-packages]\n scons-tool-loader = \"*\"\n scons-tool-cxxtest = \"*\"\n\n\nThe tool will be installed as a namespaced package ``sconstool.cxxtest``\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 && cd /tmp/prj\n touch README.rst\n git init\n\n#. Add the `scons-tool-cxxtest`_ as a submodule:\n\n .. code-block:: shell\n\n git submodule add git://github.com/ptomulik/scons-tool-cxxtest.git site_scons/site_tools/cxxtest\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.cxxtest`` (this may be required by other tools).\n\nUsage example\n-------------\n\n#. Create simple test file\n\n .. code-block:: cpp\n\n // MyTestSuite.t.h\n #include \n class MyTestSuite : public CxxTest::TestSuite\n {\n public:\n void testAddition(void)\n {\n TS_ASSERT(1 + 1 > 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 = ['default', 'cxxtest'])\n env.CxxTest('MyTestSuite')\n\n#. Try it out:\n\n .. code-block:: shell\n\n scons\n\nBuilders\n--------\n\n- ``CxxTestObject([target], source, **kw)``,\n- ``CxxTestProgram([target], source, **kw)``,\n- ``CxxTest([target], source, [root], **kw)``.\n\nConstruction variables used\n---------------------------\n\nThe following SCons construction variables might be used to customize the\n**cxxtest** tool. In addition to these, a ``$CXXTESTGENSUFFIX`` is used as\nthe source suffix for ``CxxTestObject`` builder, see scons-tool-cxxtestgen_.\n\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| Name | Description | Default Value |\n+========================+===================================================+=========================================+\n| CXXTESTCCFLAGS | Options for C and C++ compilers. | ``\"$CCFLAGS\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTCPPDEFINES | C preprocessor definitions. | ``\"$CPPDEFINES\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTCPPFLAGS | C preprocessor options. | ``\"$CPPFLAGS\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTCPPPATH | List of C/C++ include directories. | ``[\"$CXXTESTINCLUDEPATH\", \"$CPPPATH\"]`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTCXX | The C++ compiler. | ``\"$CXX\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTCXXFLAGS | Options for C++ compiler. | ``\"$CXXFLAGS\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTINCLUDEPATH | Extra include path to be prepended to CPPPATH. | Determined automatically. |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTLIBPATH | List of directories to be searched for libraries. | ``\"$LIBPATH\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTLIBPREFIX | The prefix used for (static) library names. | ``\"$LIBPREFIX\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTLIBS | A list of libraries to be linked with executable. | ``\"$LIBS\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTLIBSUFFIX | The suffix used for (static) library names. | ``\"$LIBSUFFIX\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTLINK | The linker. | ``\"$LINK\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTLINKFLAGS | General user options passed to the linker. | ``\"$LINKFLAGS\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTOBJPREFIX | The prefix used for (static) object file names. | ``\"$OBJPREFIX\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTOBJSUFFIX | The suffix used for (static) object file names. | ``\"$OBJSUFFIX\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTPROGPREFIX | The prefix used for executable file names. | ``\"$PROGPREFIX\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTPROGSUFFIX | The suffix used for executable file names. | ``\"$PROGSUFFIX\"`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n| CXXTESTRUNFLAGS | Options for test runner. | ``[]`` |\n+------------------------+---------------------------------------------------+-----------------------------------------+\n\n\nLICENSE\n-------\n\nCopyright (c) 2018 by Pawel Tomulik \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-cxxtest: https://github.com/ptomulik/scons-tool-cxxtest\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.. _cxxtest: http://cxxtest.com/\n\n.. \n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ptomulik/scons-tool-cxxtest", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "scons-tool-cxxtest", "package_url": "https://pypi.org/project/scons-tool-cxxtest/", "platform": "", "project_url": "https://pypi.org/project/scons-tool-cxxtest/", "project_urls": { "Homepage": "https://github.com/ptomulik/scons-tool-cxxtest" }, "release_url": "https://pypi.org/project/scons-tool-cxxtest/0.2.3/", "requires_dist": [ "scons-tool-cxxtestgen (>=0.1.5)", "scons-tool-util (>=0.1.9)" ], "requires_python": ">=2.7", "summary": "SCons tool to compile and run tests based on CxxTest framework", "version": "0.2.3" }, "last_serial": 5176480, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "e86a638287df7cf4975e09c9c4bde3a4", "sha256": "8a19cfd0ac694614ae179265e79596907647fad8f701d93fa42a927e71a24cb9" }, "downloads": -1, "filename": "scons_tool_cxxtest-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e86a638287df7cf4975e09c9c4bde3a4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18338, "upload_time": "2018-10-10T00:39:18", "url": "https://files.pythonhosted.org/packages/54/c7/b0d280b42cdae09744bfe93afeb7e81d0587fe0da6af3074b0a9d0820a64/scons_tool_cxxtest-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3242a08211a5eb8623ce8b91994c7e79", "sha256": "1c0ca9d9523b5a4e859664a359520560ea4958cf441179029f0d162de1e25838" }, "downloads": -1, "filename": "scons-tool-cxxtest-0.1.2.tar.gz", "has_sig": false, "md5_digest": "3242a08211a5eb8623ce8b91994c7e79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7495, "upload_time": "2018-10-10T00:39:19", "url": "https://files.pythonhosted.org/packages/a6/b9/3531cf1d469fa1c941caac7255f00eaad3bed52a39317bcb8b2b4d638c72/scons-tool-cxxtest-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "326d8341b69d6d76136105970d400410", "sha256": "e20afc6a6627bb5b1c651181d3f6056e84c2ddc0c45373c79023ec75499264e4" }, "downloads": -1, "filename": "scons_tool_cxxtest-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "326d8341b69d6d76136105970d400410", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 7955, "upload_time": "2018-10-31T04:13:17", "url": "https://files.pythonhosted.org/packages/69/0f/b7aee514887213438970baa5e481978daa06ef195ceec7b95fccd7cad58d/scons_tool_cxxtest-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "38833ef6be5d445a0e3139fc0c4dab0d", "sha256": "9117f4518470dd205b7ab00505ec81719c8eb02ae5a97aa09a70cc86b3f97672" }, "downloads": -1, "filename": "scons-tool-cxxtest-0.2.0.tar.gz", "has_sig": false, "md5_digest": "38833ef6be5d445a0e3139fc0c4dab0d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7255, "upload_time": "2018-10-31T04:13:19", "url": "https://files.pythonhosted.org/packages/1a/66/e11ad2ed3ac4abc5edd03f3144ce1095dc8220e8e23b3023b8e7f07f1f31/scons-tool-cxxtest-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "2ac89a5199526d2508ffb67bc51a8a2f", "sha256": "b71efe24b56f269fd0deb49314de711442c4fe436155c6f7db9151c3df264d0a" }, "downloads": -1, "filename": "scons_tool_cxxtest-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2ac89a5199526d2508ffb67bc51a8a2f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 7970, "upload_time": "2018-11-15T13:28:31", "url": "https://files.pythonhosted.org/packages/89/8b/50c8859e28d50fa1ab05ca45b22cfe6a31f24a798c08a4f183c9daefdbbb/scons_tool_cxxtest-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b72e20f9f15b131e2c0774e9de104843", "sha256": "e0f19c2fc89669f35ba2850d12e2597ddf3f3fb37af2af17c078ca88f7f27359" }, "downloads": -1, "filename": "scons-tool-cxxtest-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b72e20f9f15b131e2c0774e9de104843", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7276, "upload_time": "2018-11-15T13:28:33", "url": "https://files.pythonhosted.org/packages/31/b8/9e39b6daac6905b802da721c726e2abd344e9eea5edc450b426183073854/scons-tool-cxxtest-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "b2e403ba5ef4b02239eddf6545a4d8d2", "sha256": "c330c49e425dd5712b2e2dcb28b04a792c0e8dfd7c450085e626f6cae8726d75" }, "downloads": -1, "filename": "scons_tool_cxxtest-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b2e403ba5ef4b02239eddf6545a4d8d2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 7961, "upload_time": "2018-11-16T11:20:04", "url": "https://files.pythonhosted.org/packages/cb/78/477884c9a14307dfd95e317152d602b37468320a2c08eb9aec5bca2a485d/scons_tool_cxxtest-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be8333b97cf33fea9c8be655ed1a47d6", "sha256": "d9037911b2ca91f8110f412dd792b54db63d755b10c60cfc40e0e92e5a60ba91" }, "downloads": -1, "filename": "scons-tool-cxxtest-0.2.2.tar.gz", "has_sig": false, "md5_digest": "be8333b97cf33fea9c8be655ed1a47d6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7250, "upload_time": "2018-11-16T11:20:06", "url": "https://files.pythonhosted.org/packages/36/a1/7fdb89804db1ebad90eb89b7d0e66ca60fcca7f5d85908af989cef1b1275/scons-tool-cxxtest-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "2df47c00d48a736c5724810ae442cb9c", "sha256": "7bf477cac5ac1f86a2f9b1bfb213a701df94ef7e18d21b0418d8a1dc23045867" }, "downloads": -1, "filename": "scons_tool_cxxtest-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "2df47c00d48a736c5724810ae442cb9c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 7961, "upload_time": "2019-04-23T10:14:46", "url": "https://files.pythonhosted.org/packages/ad/b8/a74fc7e4fc0bf4551c4eb8b4dcdb2c411dc5cbb967f7244245438ef3785f/scons_tool_cxxtest-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6862d34d22c044b96895e4a943aa7049", "sha256": "b58f160a30c8e9f4f3061b7bd07287d0820f63bc77d29d24782c4334ad90d537" }, "downloads": -1, "filename": "scons-tool-cxxtest-0.2.3.tar.gz", "has_sig": false, "md5_digest": "6862d34d22c044b96895e4a943aa7049", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7914, "upload_time": "2019-04-23T10:14:47", "url": "https://files.pythonhosted.org/packages/ab/af/9f11287be42b0c9a07e80d3d4a9de3b4951a7998eb4fbef5672f233d489e/scons-tool-cxxtest-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2df47c00d48a736c5724810ae442cb9c", "sha256": "7bf477cac5ac1f86a2f9b1bfb213a701df94ef7e18d21b0418d8a1dc23045867" }, "downloads": -1, "filename": "scons_tool_cxxtest-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "2df47c00d48a736c5724810ae442cb9c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 7961, "upload_time": "2019-04-23T10:14:46", "url": "https://files.pythonhosted.org/packages/ad/b8/a74fc7e4fc0bf4551c4eb8b4dcdb2c411dc5cbb967f7244245438ef3785f/scons_tool_cxxtest-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6862d34d22c044b96895e4a943aa7049", "sha256": "b58f160a30c8e9f4f3061b7bd07287d0820f63bc77d29d24782c4334ad90d537" }, "downloads": -1, "filename": "scons-tool-cxxtest-0.2.3.tar.gz", "has_sig": false, "md5_digest": "6862d34d22c044b96895e4a943aa7049", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7914, "upload_time": "2019-04-23T10:14:47", "url": "https://files.pythonhosted.org/packages/ab/af/9f11287be42b0c9a07e80d3d4a9de3b4951a7998eb4fbef5672f233d489e/scons-tool-cxxtest-0.2.3.tar.gz" } ] }