{"id":20355129,"url":"https://github.com/risc-os-community/munit","last_synced_at":"2026-06-07T11:32:09.050Z","repository":{"id":42520668,"uuid":"404449480","full_name":"RISC-OS-Community/mUnit","owner":"RISC-OS-Community","description":"This is a port to RISC OS of the munit library for C Unit Testing","archived":false,"fork":false,"pushed_at":"2023-07-17T19:43:17.000Z","size":78,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-15T00:46:06.909Z","etag":null,"topics":["c","coding","gcc","hacktoberfest","hacktoberfest2022","library","risc-os","riscos","testing","testing-library","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RISC-OS-Community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-08T18:11:12.000Z","updated_at":"2022-12-01T01:42:10.000Z","dependencies_parsed_at":"2022-09-12T11:23:01.451Z","dependency_job_id":null,"html_url":"https://github.com/RISC-OS-Community/mUnit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"RISC-OS-Community/StandardRepoTemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RISC-OS-Community%2FmUnit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RISC-OS-Community%2FmUnit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RISC-OS-Community%2FmUnit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RISC-OS-Community%2FmUnit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RISC-OS-Community","download_url":"https://codeload.github.com/RISC-OS-Community/mUnit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241888851,"owners_count":20037396,"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":["c","coding","gcc","hacktoberfest","hacktoberfest2022","library","risc-os","riscos","testing","testing-library","unit-testing"],"created_at":"2024-11-14T23:11:21.356Z","updated_at":"2025-12-02T11:04:42.003Z","avatar_url":"https://github.com/RISC-OS-Community.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# �nit\n\nThis is a RISC OS port of �nit, which is a small but full-featured unit testing\nframework for C.  It has no dependencies (beyond libc), is permissively licensed\n(MIT), and is easy to include into any project.\n\nThis simple framework allows to run C Unit Tests directly on RISC OS, which\nhelps to speed up coding process. Hopefully it will be useful to many in the\ncommunity.\n\nFor more information on the original �nit, see:\n[the �nit web site](https://nemequ.github.io/munit).\n\n## Why a Port to RISC OS?\nSimple, usual reason: RISC OS has a completely different File System than most modern OSes and deals with C/Headers and paths differently than other modern OSes, so pushing patches specifically for RISC OS to the original project is:\n\na) most likely of no interest for the original project\nb) will cause issues that are just related to how RISC OS deals with files (C files, Header files and paths) which would bring no added value to the original project.\n\n\u003c!--\n[![Build status](https://travis-ci.org/nemequ/munit.svg?branch=master)](https://travis-ci.org/nemequ/munit)\n[![Windows build status](https://ci.appveyor.com/api/projects/status/db515g5ifcwjohq7/branch/master?svg=true)](https://ci.appveyor.com/project/quixdb/munit/branch/master)\n--\u003e\n\n## Features\n\nFeatures �nit currently includes include:\n\n * Handy assertion macros which make for nice error messages.\n * Reproducible cross-platform random number generation, including\n   support for supplying a seed via CLI.\n * Timing of both wall-clock and CPU time.\n * Parameterized tests.\n * Nested test suites.\n * Flexible CLI.\n * Hiding output of successful tests.\n\n\u003c!--\n### Include into your project with meson\n\nIn your `subprojects` folder put a `munit.wrap` file containing:\n\n```\n[wrap-git]\ndirectory=munit\nurl=https://github.com/nemequ/munit/\nrevision=head\n```\n\nThen you can use a subproject fallback when you include munit as a\ndependency to your project: `dependency('munit', fallback: ['munit', 'munit_dep'])`\n--\u003e\n\n### How to build it\n\n#### Building using GCC\n\nThis is easy, just make sure your filer has seen where your copy of !GCC is located on your RISC OS system and then double click on the MkGCC file to build everything.\n\n#### Building using DDE\n\nTo build with DDE you need to install both !UnixLib and also !UnixLib-Dev (both can be found via !Packman).\n\nThe build in DDE is broken at the moment due issues between UnixLib and DDE.\n\n## Documentation\n\nFor the original �nit documentation see: [the �nit web site](https://nemequ.github.io/munit).\n\nAdditionally, there is a heavily-commented test file\n[example.c](./tests/example.c) in the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frisc-os-community%2Fmunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frisc-os-community%2Fmunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frisc-os-community%2Fmunit/lists"}