{"id":48828710,"url":"https://github.com/monkey/duda-qa","last_synced_at":"2026-04-14T19:02:57.452Z","repository":{"id":21135721,"uuid":"24436780","full_name":"monkey/duda-qa","owner":"monkey","description":"Duda I/O Quality Assurance Tests","archived":false,"fork":false,"pushed_at":"2014-10-21T04:20:08.000Z","size":440,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-26T04:13:23.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/monkey.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}},"created_at":"2014-09-24T23:51:35.000Z","updated_at":"2024-03-26T04:13:23.910Z","dependencies_parsed_at":"2022-08-27T00:11:43.189Z","dependency_job_id":null,"html_url":"https://github.com/monkey/duda-qa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/monkey/duda-qa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fduda-qa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fduda-qa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fduda-qa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fduda-qa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkey","download_url":"https://codeload.github.com/monkey/duda-qa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey%2Fduda-qa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31810741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"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":[],"created_at":"2026-04-14T19:02:41.313Z","updated_at":"2026-04-14T19:02:57.438Z","avatar_url":"https://github.com/monkey.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duda I/O - Quality Assurance\n\nThe following repository is a complete QA test over every API found in the Core Objects of Duda I/O version DST-2.\n\n# Unit tests\n\nOnce the run program load the unit tests index, it goes inside each unit test directory and lookup for three files: _pre.sh_, _qa.htt_ and _pos.sh_.\n\n  script | description\n---------|-----------\npre.sh   | If found, it will be run as the first thing. This kind of script is mostly used to cleanup or prepare the environment.\nqa.htt   | This is the real HTTP Test Unit that perform the request and validate the server response. The script is interpreted by the __httest__ tool. Once it exits, the return value is validated.\npos.sh   | If found, it will be run after the _qa.htt_ test, it's made for post HTTP evaluations. Once it exists, the return value is validated.\n\n## Usage\n\nThe tool assumes you have installed __dudac__ tool in your system:\n\n```bash\n$ pip install dudac\n```\n\nnow build [Duda I/O](http://duda.io) stack using __dudac__ and with a simple example\nservice:\n\n```bash\n$ dudac -w core/console/debug\n```\n\nthen break the service with CTRL-C, the stack have been built and is ready to be used with\nthe unit tests. The final step is just to launcht the __run__ Python script:\n\n```bash\n$ ./run\n```\nOptionally if you are using a custom stack on your file system, you can point it through the environment variable _DUDAC\\_STAGE_, e.g:\n\n```bash\n$ export DUDAC_STAGE=/home/foo/stack/\n```\n\nnote: after set the environment variable, __dudac__ will expect to find a __monkey__ directory\ninside _/home/foo/stack/_.\n\n## Status\n\nThe following table represents the status of each core API objects unit test and its methods available.\nThe boxes status means:\n\n:white_check_mark: fully implemented\n:warning: work in process\n:no_entry: not yet implemented\n\n\n                     | API Object         |                    | Methods           | Web Service Test\n---------------------|--------------------|--------------------|-------------------|----------------------\n :white_check_mark:  | Console            |                    |                   |\n                     |                    | :white_check_mark: | dashboard         | console/dashboard_01/\n                     |                    | :white_check_mark: | dashboard         | console/dashboard_02/\n                     |                    | :white_check_mark: | debug             | console/debug/\n :white_check_mark:  | Cookie             |                    |                   |\n                     |                    | :white_check_mark: | cmp               | cookie/\n                     |                    | :white_check_mark: | destroy           | cookie/\n                     |                    | :white_check_mark: | get               | cookie/\n                     |                    | :white_check_mark: | set               | cookie/\n :white_check_mark:  | Configuration      |                    |                   |\n                     |                    | :white_check_mark: | bind_messages     | config/bind_messages/\n                     |                    | :white_check_mark: | service_name      | config/service_name/\n                     |                    | :white_check_mark: | service_root      | config/service_root/\n :white_check_mark:  | Data               |                    |                   |\n                     |                    | :white_check_mark: | get_path          | data/\n                     |                    | :white_check_mark: | locate            | data/\n                     |                    | :white_check_mark: | set_path          | data/\n :white_check_mark:  | File Configuration |                    |                   |\n                     |                    | :white_check_mark: | free_conf         | fconf/\n                     |                    | :white_check_mark: | get_path          | fconf/\n                     |                    | :white_check_mark: | read_conf         | fconf/\n                     |                    | :white_check_mark: | read_file         | fconf/\n                     |                    | :white_check_mark: | section_get       | fconf/\n                     |                    | :white_check_mark: | section_key       | fconf/\n                     |                    | :white_check_mark: | set_path          | fconf/\n :white_check_mark:  | Events             |                    |                   |\n                     |                    | :white_check_mark: | add               | event/events/\n                     |                    | :white_check_mark: | create_signal_fd  | event/create_signal_fd/\n                     |                    | :white_check_mark: | delete            | event/events/\n                     |                    | :white_check_mark: | duda_event_signal_set_callback | event/signal_callback/\n                     |                    | :white_check_mark: | lookup            | event/events/\n                     |                    | :white_check_mark: | mode              | event/events/\n                     |                    | :white_check_mark: | signal            | event/signal_callback/\n                     |                    | :white_check_mark: | loop_create       | event/loop/\n                     |                    | :white_check_mark: | loop_add          | event/loop/\n                     |                    | :white_check_mark: | loop_delete       | event/loop/\n                     |                    | :white_check_mark: | loop_timeout_create | event/loop/\n                     |                    | :white_check_mark: | loop_channel_create | event/loop/\n                     |                    | :white_check_mark: | loop_wait         | event/loop/\n                     |                    | :white_check_mark: | loop_backend      | event/loop/\n :white_check_mark:  | Garbage Collector  |                    |                   |\n                     |                    | :white_check_mark: | add               | garbage_collector/\n :white_check_mark:  | Memory Handler     |                    |                   |\n                     |                    | :white_check_mark: | alloc             | memory/\n                     |                    | :white_check_mark: | alloc_z           | memory/\n                     |                    | :white_check_mark: | free              | memory/\n                     |                    | :white_check_mark: | realloc           | memory/\n :white_check_mark:  | Global Worker      |                    |                   |\n                     |                    | :white_check_mark: | get               | global/\n                     |                    | :white_check_mark: | init              | global/\n                     |                    | :white_check_mark: | set               | global/\n :white_check_mark:  | Log Writer         |                    |                   |\n                     |                    | :white_check_mark: | duda_logger_create | log_writer/\n                     |                    | :white_check_mark: | print             | log_writer/\n :white_check_mark:  | Parameters         |                    |                   |\n                     |                    | :white_check_mark: | get               | param/\n                     |                    | :white_check_mark: | get_number        | param/\n :white_check_mark:  | Query String       |                    |                   |\n                     |                    | :white_check_mark: | cmp               | query_string/\n                     |                    | :white_check_mark: | count             | query_string/\n                     |                    | :white_check_mark: | get               | query_string/\n                     |                    | :white_check_mark: | get_id            | query_string/\n :warning:           | Response           |                    |                   |\n                     |                    | :white_check_mark: | cont              | event/events/\n                     |                    | :white_check_mark: | end               | event/events/\n                     |                    | :white_check_mark: | finalize          | event/events/\n                     |                    | :warning:          | flush             |\n                     |                    | :white_check_mark: | headers_off       | response/\n                     |                    | :white_check_mark: | http_content_length | response/\n                     |                    | :white_check_mark: | http_content_type   | response/\n                     |                    | :white_check_mark: | http_header       | config/service_root/\n                     |                    | :white_check_mark: | http_header_n     | response/\n                     |                    | :white_check_mark: | http_status       | event/events/\n                     |                    | :white_check_mark: | print             | response/\n                     |                    | :white_check_mark: | printf            | event/events/\n                     |                    | :warning:          | send_headers      |\n                     |                    | :white_check_mark: | sendfile          | response/\n                     |                    | :white_check_mark: | sendfile_range    | response/\n                     |                    | :white_check_mark: | wait              | event/events/\n :white_check_mark:  | Request            |                    |                   |\n                     |                    | :white_check_mark: | content_length    | request/\n                     |                    | :white_check_mark: | content_type      | request/\n                     |                    | :white_check_mark: | get_data          | request/\n                     |                    | :white_check_mark: | header_cmp        | request/\n                     |                    | :white_check_mark: | header_contains   | request/\n                     |                    | :white_check_mark: | header_get        | request/\n                     |                    | :white_check_mark: | is_data           | request/\n                     |                    | :white_check_mark: | is_delete         | request/\n                     |                    | :white_check_mark: | is_get            | request/\n                     |                    | :white_check_mark: | is_head           | request/\n                     |                    | :white_check_mark: | is_post           | request/\n                     |                    | :white_check_mark: | is_put            | request/\n                     |                    | :white_check_mark: | validate_request  | request/\n                     |                    | :white_check_mark: | validate_socket   | request/\n :white_check_mark:  | Router             |                    |                   |\n                     |                    | :white_check_mark: | map               | router/\n                     |                    | :white_check_mark: | root              | router/\n :white_check_mark:  | Sessions           |                    |                   |\n                     |                    | :white_check_mark: | create            | session/\n                     |                    | :white_check_mark: | destroy           | session/\n                     |                    | :white_check_mark: | get               | session/\n                     |                    | :white_check_mark: | init              | session/\n                     |                    | :white_check_mark: | isset             | session/\n :white_check_mark:  | Workers            |                    |                   |\n                     |                    | :white_check_mark: | pre_loop          | worker/\n                     |                    | :white_check_mark: | spawn             | worker/\n :white_check_mark:  | Time Handling      |                    |                   |\n                     |                    | :white_check_mark: | next_hours        | time/\n                     |                    | :white_check_mark: | now               | time/\n                     |                    | :white_check_mark: | tomorrow          | time/\n :white_check_mark:  | Dthread            |                    |                   |\n                     |                    | :white_check_mark: | create            | dthread/\n                     |                    | :white_check_mark: | status            | dthread/\n                     |                    | :white_check_mark: | yield             | dthread/\n                     |                    | :white_check_mark: | resume            | dthread/\n                     |                    | :white_check_mark: | running           | dthread/\n                     |                    | :white_check_mark: | chan_create       | dthread/\n                     |                    | :white_check_mark: | chan_free         | dthread/\n                     |                    | :white_check_mark: | chan_get_sender   | dthread/\n                     |                    | :white_check_mark: | chan_set_sender   | dthread/\n                     |                    | :white_check_mark: | chan_get_receiver | dthread/\n                     |                    | :white_check_mark: | chan_set_receiver | dthread/\n                     |                    | :white_check_mark: | chan_done         | dthread/\n                     |                    | :white_check_mark: | chan_end          | dthread/\n                     |                    | :white_check_mark: | chan_send         | dthread/\n                     |                    | :white_check_mark: | chan_recv         | dthread/\n\n## Contact\n\nEduardo Silva \u003ceduardo@monkey.io\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkey%2Fduda-qa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkey%2Fduda-qa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkey%2Fduda-qa/lists"}