{"id":20744108,"url":"https://github.com/dunest/seasidegenerationtester","last_synced_at":"2025-08-23T11:09:48.402Z","repository":{"id":81026001,"uuid":"188911283","full_name":"DuneSt/SeasideGenerationTester","owner":"DuneSt","description":"Small project to help test generated Seaside code","archived":false,"fork":false,"pushed_at":"2019-10-11T14:25:51.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-23T11:07:47.105Z","etag":null,"topics":["pharo","seaside","smalltalk","test","testing"],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/DuneSt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-05-27T21:29:47.000Z","updated_at":"2019-10-11T14:24:47.000Z","dependencies_parsed_at":"2023-03-23T00:12:44.917Z","dependency_job_id":null,"html_url":"https://github.com/DuneSt/SeasideGenerationTester","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/DuneSt/SeasideGenerationTester","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuneSt%2FSeasideGenerationTester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuneSt%2FSeasideGenerationTester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuneSt%2FSeasideGenerationTester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuneSt%2FSeasideGenerationTester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DuneSt","download_url":"https://codeload.github.com/DuneSt/SeasideGenerationTester/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DuneSt%2FSeasideGenerationTester/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746767,"owners_count":24813582,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["pharo","seaside","smalltalk","test","testing"],"created_at":"2024-11-17T07:14:17.913Z","updated_at":"2025-08-23T11:09:48.289Z","avatar_url":"https://github.com/DuneSt.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SeasideGenerationTester\n\nSmall project to help test generated Seaside code\n\n# Documentation\n\n## Version management \n\nThis project use semantic versionning to define the releases. This mean that each stable release of the project will get associate a version number of the form `vX.Y.Z`. \n\n- **X** define the major version number\n- **Y** define the minor version number \n- **Z** define the patch version number\n\nWhen a release contains only bug fixes, the patch number increase. When the release contains new features backward compatibles, the minor version increase. When the release contains breaking changes, the major version increase. \n\nThus, it should be safe to depend on a fixed major version and moving minor version of this project.\n\n## Install\n\nTo install the project on your Pharo image you can just execute the following script: \n\n```Smalltalk\n    Metacello new\n    \tgithubUser: 'DuneSt' project: 'SeasideGenerationTester' commitish: 'v1.x.x' path: 'src';\n    \tbaseline: 'SeasideGenerationTester';\n    \tload\n```\n\nTo add SeasideGenerationTester to your baseline just add this:\n\n```Smalltalk\n    spec\n    \tbaseline: 'SeasideGenerationTester'\n    \twith: [ spec repository: 'github://DuneSt/SeasideGenerationTester:v1.x.x/src' ]\n```\n\t\t\n## Getting started\n\nThis project should be used by subclassing `SGTAbstractSeasideTestCase` or `SGTAbstractBrushTest`.\n\nOnce done, you have access to new assertion methods and they can be used like this:\n\n```Smalltalk\ntestId\n\tself assert: [ :html | MDLPanelSwitcherButton new id: 'testId'; renderContentOn: html ] generatedIncludes: 'id=\"testId\"'\n```\n\n```Smalltalk\ntestRenderEmptyGenericDialogOn\n\tself\n\t\tassert: [ :html | MDLRootDialogRenderer new renderEmptyGenericDialogOn: html ]\n\t\tgeneratedIncludesAll: #('mdl-dialog' 'data-openbtnid=\"root-dialog__open\"' 'data-closebtnid=\"root-dialog__close\"')\n```\n\n```Smalltalk\ntestAccentColor\n\tself\n\t\tassert: [ :html | \n\t\t\thtml mdlAnchorButton\n\t\t\t\taccentColor;\n\t\t\t\twith: 'Validate' ]\n\t\tgenerates: '\u003ca class=\"mdl-button mdl-js-button mdl-button--accent\"\u003eValidate\u003c/a\u003e'\n```\n\n## Smalltalk versions compatibility\n\n| MDL version \t| Compatible Pharo versions \t| Compatible Gemstone versions \t|\n|-------------\t|---------------------------\t|---------------------------\t|\n| 1.x.x       \t| Pharo 61, 70, 80\t\t\t\t| None\t\t\t\t\t\t\t|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunest%2Fseasidegenerationtester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdunest%2Fseasidegenerationtester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunest%2Fseasidegenerationtester/lists"}