{"id":20718306,"url":"https://github.com/dimitri4788/testharness","last_synced_at":"2025-03-11T07:43:51.899Z","repository":{"id":94110326,"uuid":"70552247","full_name":"dimitri4788/testHarness","owner":"dimitri4788","description":"A test-harness (automated test framework) to test a ZeroMQ based server application.","archived":false,"fork":false,"pushed_at":"2016-10-12T01:36:44.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T22:23:35.346Z","etag":null,"topics":["python","test-harness"],"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/dimitri4788.png","metadata":{"files":{"readme":"README.md","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,"governance":null}},"created_at":"2016-10-11T03:25:28.000Z","updated_at":"2017-03-12T19:46:43.000Z","dependencies_parsed_at":"2023-04-16T04:46:09.059Z","dependency_job_id":null,"html_url":"https://github.com/dimitri4788/testHarness","commit_stats":null,"previous_names":["dimitri4788/testharness"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitri4788%2FtestHarness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitri4788%2FtestHarness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitri4788%2FtestHarness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitri4788%2FtestHarness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitri4788","download_url":"https://codeload.github.com/dimitri4788/testHarness/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242995862,"owners_count":20218814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["python","test-harness"],"created_at":"2024-11-17T03:13:06.883Z","updated_at":"2025-03-11T07:43:51.851Z","avatar_url":"https://github.com/dimitri4788.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Test Harness\n============\nIt is a collection of software and test data configurations to test your --- *ZeroMQ based server application* --- that is by running it under varying conditions and monitoring its outputs. It is easily scalable to add more test cases.  \n\nThe typical objectives here are to:  \n- Automate the testing process  \n- Execute test suites of test cases  \n- Easily add more tests  \n- Generate associated test report  \n\nIt provides the following benefits:  \n- Increased productivity due to automation of the testing process  \n- Increased probability that regression testing will occur  \n- Increased quality of software components and application  \n\n\nDependencies\n------------\n- configparser==3.3.0.post2\n- enum34==1.1.2\n- pyzmq==15.2.0\n\nFollow below instructions to install the libraries.\n\n\nInstallation\n------------\n```sh\n# Change directory to where testharness tool is located\n$ cd \u003cPathToYourApplicationDirectory\u003e/tools/testHarness\n\n# Install pip\n$ sudo easy_install pip\n\n# First install virtualenv\n$ sudo pip install virtualenv\n\n# Create a new virtual environment\n$ virtualenv env\n# NOTE: Since we are using a version control system (Git), you shouldn't commit the env directory. Add it to your .gitignore file if it is not there.\n\n# Activate the environment\n$ source env/bin/activate\n# NOTE: You should always activate the virtual environment before you start working with testHarness\n\n# Install the dependencies for testHarness into this virtual environment\n$ pip install -r requirements.txt\n\n# Finally, install the testHarness so it is ready to be used. This will create a command line tool called \"harness\"\n$ python setup.py install\n$ python setup.py install --record files.txt  # Run this if you want to save the installed stuff for easy deletion later on\n\n# Deactivate the virtual environment when you are done using testHarness\n$ deactivate\n\n\n# ######### Additional commands #########\n# To delete the installed testharness binaries and other data\n$ cat files.txt | xargs rm -rf\n\n# If you want to output installed packages in requirements format (this will be saved to requirements.txt)\n# This should only be ran if you install new libraries in the virtual environment that testharness depends on\n$ pip freeze \u003e requirements.txt\n```\n\n\nHow to run it\n-------------\n- Make sure your ZeroMQ based server application is up-and-running\n- Modify **config.cfg** according to your setup\n- Add more tests to **harness/definitions.py** as per your need, or you can run the currently available tests\n- From the terminal, run\n\n```sh\n$ python setup.py install  # Needed to be run only when you update any file(s), for example, say you add more tests to definitions.py\n\n# This will run the testharness\n$ harness -c \u003cpath-to-config-file\u003e\n\n# This will give you the usage options for CLI \"harness\"\n$ harness\n```\n\n\nAdding more tests\n-----------------\n- Add more tests by updating definitions **definitions.py**.\n\n\nAuthor\n------\nDeep Aggarwal  \ndeep.uiuc@gmail.com  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitri4788%2Ftestharness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitri4788%2Ftestharness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitri4788%2Ftestharness/lists"}