{"id":15060447,"url":"https://github.com/64bites/64spec","last_synced_at":"2025-10-06T00:22:41.588Z","repository":{"id":42819494,"uuid":"44261424","full_name":"64bites/64spec","owner":"64bites","description":"6502/Commodore64 Testing Framework for KickAssembler","archived":false,"fork":false,"pushed_at":"2022-03-26T19:34:57.000Z","size":278,"stargazers_count":55,"open_issues_count":2,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-24T07:05:19.341Z","etag":null,"topics":["6502","assembly-6502","assembly-language","commodore-64","kickassembler","tdd","testing"],"latest_commit_sha":null,"homepage":"http://64bites.com/64spec/","language":"Assembly","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/64bites.png","metadata":{"files":{"readme":"README.markdown","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":"2015-10-14T16:33:17.000Z","updated_at":"2023-04-11T07:49:21.000Z","dependencies_parsed_at":"2022-08-28T07:23:38.564Z","dependency_job_id":null,"html_url":"https://github.com/64bites/64spec","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/64bites%2F64spec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64bites%2F64spec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64bites%2F64spec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64bites%2F64spec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/64bites","download_url":"https://codeload.github.com/64bites/64spec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166926,"owners_count":21058480,"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":["6502","assembly-6502","assembly-language","commodore-64","kickassembler","tdd","testing"],"created_at":"2024-09-24T22:58:48.880Z","updated_at":"2025-10-06T00:22:41.455Z","avatar_url":"https://github.com/64bites.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 64spec\n\n6502/Commodore64 Testing Framework for KickAssembler\n\n## Video introduction\n\n[![Video](docs/022.png?raw=true)](http://64bites.com/episodes/022-tdd-with-64spec/)\n## Installation\n\n### Recommended way\n\n1. Create a dir for libraries that your KickAssembler projects use.\n2. Get the current version of the 64spec.asm file and put it in this dir along with other libraries. \n3. Import it in your spec files as \u003ccode\u003e.import source \"64spec.asm\"\u003c/code\u003e\n4. Make sure to pass option \u003ccode\u003e-libdir \u003cpath-to-your-libraries-dir\u003e\u003c/code\u003e when compiling with KickAssembler.\n\n### If you just want to try it out\n\n1. Get the current version of the 64spec.asm file and put it in the same directory as your spec files.\n2. Import it in your spec files as \u003ccode\u003e.import source \"64spec.asm\"\u003c/code\u003e\n\n## Quick Start\n\n#### 1. Create file example_spec.asm\n\n``` asm\n.import source \"64spec.asm\"\n\nsfspec: :init_spec()\n  \n  // TODO: Add assertions here\n\n  :finish_spec()\n```\n\n![Empty Spec](docs/qs01-empty.png?raw=true \"Empty Spec\")\n\n#### 2. Add first failing assertion.\n\n``` asm\n.import source \"64spec.asm\"\n\nsfspec: :init_spec()\n  \n  :assert_a_equal #42\n\n  :finish_spec()\n```\n\n![Empty Spec](docs/qs02-fail.png?raw=true \"Empty Spec\")\n\n#### 3. Make it pass\n\n``` asm\n.import source \"64spec.asm\"\n\nsfspec: :init_spec()\n\n  lda #42\n  :assert_a_equal #42\n  \n  :finish_spec()\n```\n\n![Empty Spec](docs/qs03-pass.png?raw=true \"Empty Spec\")\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2015 Michał Taszycki\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64bites%2F64spec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F64bites%2F64spec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64bites%2F64spec/lists"}