{"id":15145760,"url":"https://github.com/soundcloud/tyrtle","last_synced_at":"2025-09-29T15:31:05.555Z","repository":{"id":2618869,"uuid":"3603181","full_name":"soundcloud/tyrtle","owner":"soundcloud","description":"A Javascript unit testing framework for the browser and Node","archived":false,"fork":true,"pushed_at":"2023-04-09T20:56:41.000Z","size":448,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":118,"default_branch":"master","last_synced_at":"2024-09-27T11:42:34.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"spadgos/tyrtle","license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soundcloud.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,"governance":null}},"created_at":"2012-03-02T15:11:59.000Z","updated_at":"2021-12-14T09:13:07.000Z","dependencies_parsed_at":"2023-07-06T09:33:33.832Z","dependency_job_id":null,"html_url":"https://github.com/soundcloud/tyrtle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Ftyrtle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Ftyrtle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Ftyrtle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Ftyrtle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soundcloud","download_url":"https://codeload.github.com/soundcloud/tyrtle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234635000,"owners_count":18863986,"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-09-26T11:42:34.149Z","updated_at":"2025-09-29T15:31:00.260Z","avatar_url":"https://github.com/soundcloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Tyrtle is a Javascript unit testing framework\n\nTyrtle has been designed for simplicity and legibility, with minimal pollution of the global namespace.\n\nHere's an example of how you can write an assertion:\n\n```javascript\nassert.that(Math.sqrt(49)).is(7).since(\"The square root of 49 should be 7\");\n```\n\nIf that's too much typing for you, it's good to know that Tyrtle gives you a fine heaping of syntactic sugar: `that`, `is` and `since` are all completely optional! If you prefer a terser syntax, the exact same assertion can be written like this:\n\n```javascript\nassert(Math.sqrt(49))(7)(\"The square root of 49 should be 7\");\n```\n\n- [Full documentation is on the wiki](https://github.com/spadgos/tyrtle/wiki).\n- Tyrtle has a sister project called **Myrtle** which you might also like!\n\n## Development\n\nTo build the source files (in the `src` directory) into the compiled `Tyrtle.js` file, simply run:\n\n```shell\nmake\n``` \n\n---------------\n\n### Myrtle is a Javascript mocking framework\n\n- Mocking (spying and stubbing functions)\n- Mock function generation\n- Timer manipulation\n- Speed profiling\n\n[Check it out](http://github.com/spadgos/myrtle).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Ftyrtle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoundcloud%2Ftyrtle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Ftyrtle/lists"}