{"id":18325019,"url":"https://github.com/maxdeviant/startest","last_synced_at":"2026-01-23T10:15:53.142Z","repository":{"id":234608679,"uuid":"789075366","full_name":"maxdeviant/startest","owner":"maxdeviant","description":"🌠 A testing framework to help you shoot for the stars","archived":false,"fork":false,"pushed_at":"2026-01-19T15:41:30.000Z","size":111,"stargazers_count":38,"open_issues_count":8,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-19T21:56:50.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Gleam","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/maxdeviant.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-19T16:57:47.000Z","updated_at":"2026-01-19T15:41:22.000Z","dependencies_parsed_at":"2024-11-05T18:43:26.662Z","dependency_job_id":"b96b54af-7a97-45fe-8f38-f067b71968db","html_url":"https://github.com/maxdeviant/startest","commit_stats":null,"previous_names":["maxdeviant/startest"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/maxdeviant/startest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fstartest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fstartest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fstartest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fstartest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxdeviant","download_url":"https://codeload.github.com/maxdeviant/startest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fstartest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28687417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-05T18:36:33.309Z","updated_at":"2026-01-23T10:15:52.994Z","avatar_url":"https://github.com/maxdeviant.png","language":"Gleam","readme":"# startest\n\n[![Package Version](https://img.shields.io/hexpm/v/startest)](https://hex.pm/packages/startest)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/startest/)\n![Erlang-compatible](https://img.shields.io/badge/target-erlang-b83998)\n![JavaScript-compatible](https://img.shields.io/badge/target-javascript-f1e05a)\n\n🌠 A testing framework to help you shoot for the stars.\n\n## Installation\n\n```sh\ngleam add --dev startest\n```\n\n## Features\n\n- Write tests using the `describe` API or as standalone functions\n- Filter tests by file path or test name\n- Pretty assertions from `expect` matchers\n\n## Usage\n\n```gleam\nimport startest.{describe, it}\nimport startest/expect\n\n// Inside of `test/my_project_test.gleam`:\npub fn main() {\n  // Call `startest.run` inside of your `main` function.\n  // Here we're using the default config, but you can customize this, as needed.\n  startest.run(startest.default_config())\n}\n\n// Tests can be expressed using the `describe` API:\npub fn my_project_tests() {\n  describe(\"My Project\", [\n    describe(\"2 + 2\", [\n      it(\"equals 4\", fn() {\n        2 + 2\n        |\u003e expect.to_equal(4)\n      }),\n    ]),\n  ])\n}\n\n// You can also write tests as standalone functions.\n// These functions must be public and have a name ending in `_test`:\npub fn a_standalone_test() {\n  { \"Hello, \" \u003c\u003e \"Joe!\" }\n  |\u003e expect.to_equal(\"Hello, Joe!\")\n}\n```\n\n## Migrating from gleeunit\n\nIf you're coming from [`gleeunit`](https://hexdocs.pm/gleeunit), follow these steps for an easy migration to Startest:\n\n1. Install Startest with `gleam add --dev startest`\n1. Replace all imports of `gleeunit` with `startest`\n1. Replace `gleeunit.main` with `startest.run(startest.default_config())`\n1. Replace all imports of `gleeunit/should` with `startest/expect`\n1. Update `gleeunit/should` assertions to `startest/expect`\n   - Consult the migration table down below for the equivalent assertions in Startest\n1. Remove `gleeunit` with `gleam remove gleeunit`\n1. Optionally, begin using the `describe` API to structure your tests\n\n| `gleeunit/should`  | `startest/expect`                     |\n| ------------------ | ------------------------------------- |\n| `should.equal`     | `expect.to_equal`                     |\n| `should.not_equal` | `expect.to_not_equal`                 |\n| `should.be_true`   | `expect.to_be_true`                   |\n| `should.be_false`  | `expect.to_be_false`                  |\n| `should.be_ok`     | `expect.to_be_ok`                     |\n| `should.be_error`  | `expect.to_be_error`                  |\n| `should.be_some`   | `expect.to_be_some`                   |\n| `should.be_none`   | `expect.to_be_none`                   |\n| `should.fail`      | `expect.to_be_true(False)` or `panic` |\n\nThis conversion can typically be done with a find/replace:\n\n```diff\n- should.\n+ expect.to_\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fstartest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdeviant%2Fstartest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fstartest/lists"}