{"id":16301211,"url":"https://github.com/melezhik/red-tt","last_synced_at":"2025-09-11T23:45:12.516Z","repository":{"id":150532458,"uuid":"230839195","full_name":"melezhik/Red-TT","owner":"melezhik","description":"TomtyTest for Red","archived":false,"fork":false,"pushed_at":"2019-12-30T04:25:10.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T01:16:49.165Z","etag":null,"topics":["raku","red","tomty","tomtytest"],"latest_commit_sha":null,"homepage":null,"language":"Perl 6","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/melezhik.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-30T03:15:53.000Z","updated_at":"2019-12-30T04:25:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"d040be30-f84c-405e-9906-35b5e28bb15d","html_url":"https://github.com/melezhik/Red-TT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/melezhik/Red-TT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2FRed-TT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2FRed-TT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2FRed-TT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2FRed-TT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melezhik","download_url":"https://codeload.github.com/melezhik/Red-TT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melezhik%2FRed-TT/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263603137,"owners_count":23487211,"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":["raku","red","tomty","tomtytest"],"created_at":"2024-10-10T20:54:13.028Z","updated_at":"2025-07-04T19:04:43.518Z","avatar_url":"https://github.com/melezhik.png","language":"Perl 6","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Red-TT\n\nTomtyTest for [Red](https://github.com/FCO/Red)\n\n# Install\n\n`zef install --/test Tomty`\n\n# Run tests\n\n`git clone https://github.com/melezhik/Red-TT.git \u0026\u0026 cd Red-TT`\n\nSetup Sparrow6 repository\n\n`export SP6_REPO=http://repo.westus.cloudapp.azure.com/`\n\nRun all tests\n\n`tomty --all --show-failed`\n\nRun specific test\n\n`tomty 03-map-grep-sql`\n\nSkip some tests\n\n`tomty --skip=integration`\n\nList available tests\n\n`tomty`\n\nInstall bash completion\n\n`tomty --completion`\n\n# Example reports\n\n`tomty --all -show-failed`\n\n```\n[1/3] / [01-zef-install-red] .......  3 sec. OK\n[2/3] / [02-create-table-sql] .......  4 sec. OK\n[3/3] / [03-map-grep-sql] .......  3 sec. OK\n=========================================\n(=: / [3] tests in 10 sec / (3) tests passed\n```\n\n`tomty 02-create-table-sql`\n\n```\n04:24:17 12/30/2019 [repository] index updated from file:///home/melezhik/repo/api/v1/index\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] use Red;\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] \n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] model M is table\u003cmmm\u003e {\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6]    has Str $.a is column;\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6]    has Bool $.b is column;\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] }\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] \n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] my $*RED-DB = database \"SQLite\";\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] \n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] my $*RED-DEBUG = True;\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] \n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] say M.^create-table;\n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] \n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] \n04:24:18 12/30/2019 [bash: cat .tomty/tasks/create-table-sql/sample.pl6] \n04:24:19 12/30/2019 [.tomty/tasks/create-table-sql] SQL : CREATE TABLE mmm(\n04:24:19 12/30/2019 [.tomty/tasks/create-table-sql]    a varchar(255) NOT NULL ,\n04:24:19 12/30/2019 [.tomty/tasks/create-table-sql]    b integer NOT NULL \n04:24:19 12/30/2019 [.tomty/tasks/create-table-sql] )\n04:24:19 12/30/2019 [.tomty/tasks/create-table-sql] True\n04:24:19 12/30/2019 [.tomty/tasks/create-table-sql] BIND: []\n[task check] check if a table has 2 column declarations\n[task check] stdout match (r) \u003ca varchar(255) NOT NULL\u003e True\n[task check] stdout match (r) \u003cb integer NOT NULL\u003e True\n[task check] check if there are exactly 2 statements between CREATE TABLE and ')' lines\n[task check] check if there are no excessive commas\n[task check] stdout match (s) \u003cSQL : CREATE TABLE mmm(\u003e True\n[task check] stdout match (s) \u003c.* 'NULL' \\s* ',' \\s* $$\u003e True\n[task check] stdout match (s) \u003c.* 'NULL' \\s* $$\u003e True\n[task check] stdout match (s) \u003c^^ \\s* ')' \\s* $$\u003e True\n```\n\n# Author\n\nAlexey Melezhik\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelezhik%2Fred-tt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelezhik%2Fred-tt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelezhik%2Fred-tt/lists"}