{"id":19961101,"url":"https://github.com/formapro/testo","last_synced_at":"2025-05-03T22:30:31.208Z","repository":{"id":5278439,"uuid":"6457591","full_name":"formapro/testo","owner":"formapro","description":"Use your tests as examples for the doc.","archived":false,"fork":false,"pushed_at":"2013-10-11T13:36:10.000Z","size":244,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-09T01:19:13.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"rauchg/slackin","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formapro.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":"2012-10-30T13:26:11.000Z","updated_at":"2013-10-14T18:46:05.000Z","dependencies_parsed_at":"2022-08-29T04:50:42.283Z","dependency_job_id":null,"html_url":"https://github.com/formapro/testo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formapro%2Ftesto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formapro%2Ftesto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formapro%2Ftesto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formapro%2Ftesto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formapro","download_url":"https://codeload.github.com/formapro/testo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224374787,"owners_count":17300691,"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":[],"created_at":"2024-11-13T02:06:22.575Z","updated_at":"2024-11-13T02:06:23.262Z","avatar_url":"https://github.com/formapro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Testo [![Build Status](https://secure.travis-ci.org/formapro/testo.png?branch=master)](http://travis-ci.org/formapro/testo)\n=====\n\nDo you remember those outdated examples in a documentation?.\n \nOr times while updating documents you had to test examples manually? \n\nThis days in the past. Testo come into play.\n\nExample \n=======\n\nLet's say you have a `README.md`:\n\n```\n@testo examples/Testo/Examples/README.md {\nSome description of the awesome code:\n\n\u003c?php\n@testo Testo\\Examples\\Hello world {\necho 'hello world!';\n@testo 1abb62086e2cc233ede1e19de3a8e5f6 }\n?\u003e\n@testo 35a8d2d426c05614551484dcdd450f37 }\n```\n\nand there is a class: \n\n```php\n// @testo Testo\\Examples\\Hello {\n// @testo }\n```\n\nSo after you run `Testo` there will be clean `README.md`:\n\n```\n@testo examples/Testo/Examples/README.md.expected {\nSome description of the awesome code:\n\n\u003c?php\n@testo Testo\\Examples\\Hello world {\necho 'hello world!';\n@testo 1abb62086e2cc233ede1e19de3a8e5f6 }\n?\u003e\n@testo 35a8d2d426c05614551484dcdd450f37 }\n```\n\nWhat's inside?\n==============\n\n```php\n\u003c?php\n// @testo Testo\\Examples\\ReadmeTest whatsInside {\n// @testo }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformapro%2Ftesto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformapro%2Ftesto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformapro%2Ftesto/lists"}