{"id":34112837,"url":"https://github.com/sudaning/ftest","last_synced_at":"2026-04-02T01:01:38.986Z","repository":{"id":62580452,"uuid":"82023079","full_name":"sudaning/Ftest","owner":"sudaning","description":"基于FreeSWITCH的自动化测试框架","archived":false,"fork":false,"pushed_at":"2017-12-15T02:11:59.000Z","size":10453,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-17T02:52:31.182Z","etag":null,"topics":["auto-test","freeswitch"],"latest_commit_sha":null,"homepage":"https://freeswitch.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sudaning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-15T05:17:46.000Z","updated_at":"2017-03-20T09:04:22.000Z","dependencies_parsed_at":"2022-11-03T21:01:24.099Z","dependency_job_id":null,"html_url":"https://github.com/sudaning/Ftest","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sudaning/Ftest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudaning%2FFtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudaning%2FFtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudaning%2FFtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudaning%2FFtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudaning","download_url":"https://codeload.github.com/sudaning/Ftest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudaning%2FFtest/sbom","scorecard":{"id":857175,"data":{"date":"2025-08-11","repo":{"name":"github.com/sudaning/Ftest","commit":"9b40a5cce7ef47c63843e21e0b1a6c795b2125e2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T00:08:52.099Z","repository_id":62580452,"created_at":"2025-08-24T00:08:52.099Z","updated_at":"2025-08-24T00:08:52.099Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["auto-test","freeswitch"],"created_at":"2025-12-14T19:04:14.230Z","updated_at":"2026-04-02T01:01:38.974Z","avatar_url":"https://github.com/sudaning.png","language":"Python","readme":"# Welcome to Ftest\n[![Version][version-badge]][version-link] ![Supported-python-version][python27-badge] [![Build Status][travis-badge]][travis-link]  [![Coverage][coverage-badge]][coverage-link] ![Star][stars] ![Fork][forks] [![MIT License][license-badge]](LICENSE.md)\n\n## Introduction\nFtest is a pure Python library designed to auto-test for secondary development base on FREESWITCH.\nYou can use Ftest to auto-test FREESWITCH functions easy.\nIn [/scripts](https://github.com/sudaning/Ftest/tree/master/scripts) , there are some scripts written by me for daily use.\n\n## Installation\n1. Via **pip**  \n```pip install pyFtest```  \n2. Via **easy_install**  \n```easy_install pyFtest```\n3. From **source**  \n```python setup.py install```\n\n## upgrading\n1. Via **pip**  \n```pip install --upgrade pyFtest```\n\n## Examples\n\n```python\n#!/usr/bin/env python \n# -*- coding: utf-8 -*- \n\nfrom optparse import OptionParser\nimport os, sys\nfrom ftest import caseMgr\n\nif __name__ == '__main__':\n\t\n\tparser = OptionParser(usage=\"%prog [--packet] [--config] [--script] [--report] [--rep_mod] [-s] [-r] [--version]\", version=\"%prog 1.1\")\n\tparser.add_option('--packet', dest='packet', default='packet/demo_packet.yaml', help='test pakcet yaml file [default: %default]')\n\tparser.add_option('--config', dest='config', default='packet/demo_config.yaml', help='config yaml file [default: %default]')\n\tparser.add_option('--script', dest='script', default='script', help='script directory [default: %default]')\n\tparser.add_option('--report', dest='report', default='report', help='report directory [default: %default]')\n\tparser.add_option('--rep_mod', dest='rep_mod', default='xls', help='report mod [default: %default]')\n\tparser.add_option(\"-s\", action=\"store_true\", dest=\"silence\", help='no any information to show on foreground')  \n\tparser.add_option(\"-r\", action=\"store_true\", dest=\"rep_success\", help='report successful cases, successful case details to report')\n\t(options, args) = parser.parse_args()\n\n\trun_path = os.path.split(os.path.realpath(sys.argv[0]))[0]\n\tconfig_file_path = os.path.join(run_path, options.config)\n\tpacket_file_path = os.path.join(run_path, options.packet)\n\tscript_dir_path = os.path.join(run_path, options.script)\n\treport_dir_path = os.path.join(run_path, options.report)\n\n\tc = caseMgr(config_file_path, packet_file_path, script_dir_path)\n\tc.load() and c.run(options.rep_mod, report_dir_path, options.rep_success, options.silence)\n\t\n```\n \n## From the author\n**Welcome to use pyFtest (●'◡'●)ﾉ♥**  \nIf you find any bug, please report it to me by opening a issue.\npyNeko needs to be improved, your contribution will be welcomed.\n\n[version-badge]:   https://img.shields.io/pypi/v/pyFtest.svg?label=pypi\n[version-link]:    https://pypi.python.org/pypi/pyFtest/\n[python27-badge]:  https://img.shields.io/badge/python-2.7-green.svg\n[stars]:           https://img.shields.io/github/stars/sudaning/Ftest.svg\n[forks]:           https://img.shields.io/github/forks/sudaning/Ftest.svg\n[travis-badge]:    https://img.shields.io/travis/sudaning/Ftest.svg\n[travis-link]:     https://travis-ci.org/sudaning/Ftest\n[coverage-badge]:  https://img.shields.io/coveralls/sudaning/Ftest.svg\n[coverage-link]:   https://coveralls.io/github/sudaning/Ftest\n[license-badge]:   https://img.shields.io/badge/license-MIT-007EC7.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudaning%2Fftest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudaning%2Fftest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudaning%2Fftest/lists"}