{"id":26267507,"url":"https://github.com/oslabs-beta/sveste","last_synced_at":"2025-04-30T19:08:46.046Z","repository":{"id":59836154,"uuid":"537621650","full_name":"oslabs-beta/Sveste","owner":"oslabs-beta","description":"A no code GUI for writing great unit tests for Svelte.","archived":false,"fork":false,"pushed_at":"2022-10-25T21:56:08.000Z","size":2225,"stargazers_count":30,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-04-30T19:08:07.453Z","etag":null,"topics":["svelte","unit-testing"],"latest_commit_sha":null,"homepage":"https://www.sveste.dev","language":"Svelte","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/oslabs-beta.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}},"created_at":"2022-09-16T21:14:05.000Z","updated_at":"2023-10-29T21:38:46.000Z","dependencies_parsed_at":"2023-01-20T11:34:32.697Z","dependency_job_id":null,"html_url":"https://github.com/oslabs-beta/Sveste","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2FSveste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2FSveste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2FSveste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2FSveste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oslabs-beta","download_url":"https://codeload.github.com/oslabs-beta/Sveste/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251767187,"owners_count":21640469,"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":["svelte","unit-testing"],"created_at":"2025-03-14T04:17:07.659Z","updated_at":"2025-04-30T19:08:46.014Z","avatar_url":"https://github.com/oslabs-beta.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sveste\n\nSveste is a no-code GUI for writing great unit tests.\n\nToday, Sveste (Svelte + test) translates form inputs into executable tests. It uses the Testing Library to focus on best practices like testing what’s actually on screen. It uses Vitest so you can take advantage of Vite’s fast build times and run unit tests as you code. It structures your code so that each unit test is (human) readable and independent (no nested mock statements here). Sveste ensures that your test code is concise, functional, and best practice.\n\nBut this is just a first step to a bigger goal (literally, it’s v0.2!).\n\nWe want Sveste to help you write tests in plain english.\n\nImagine if writing tests were as easy as Mad Libs? Imagine if you got context-aware tips as you wrote your tests: guiding you towards helpful resources, and steering you away from common testing mistakes? Imagine if you could share unit tests with others, and build off of each-other’s work to write application agnostic tests?\n\nHelp us make this vision a reality!\n\nSveste is open source, and looking for contributors. Check out our app and repo to get started!\n\n## How to get up and running\n\n1. Install AWS CLI - https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html\n2. Create AWS account, install AWS SAM CLI + Docker - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html\n3. Set AWS Congifure w/ new IAM Access ID + key - https://docs.aws.amazon.com/cli/latest/userguide/getting-started-quickstart.html\n4. Run 'npm install' in terminal\n5. Start up docker in background\n6. Run 'npm run build:dev' to create build and running container in docker\n7. App should be live\n8. Upon termination of server, use run 'npm run dev' to start up existing build.\n\n## Troubleshooting\n\n### If your changes aren't reflected in your dev server\n\nAny changes to the frontend are reflected automatically thanks to Vite HMR. Changes to the backend require a restart of your dev server (`^C` and `npm run dev` in your terminal).\n\n### If server fails to termiante upon closing\n\n1. Run 'ps -fA | grep sam' to view running instances.\n2. Find 5-digit number and run 'kill {#####}' to terminate instance\n\n## FAQ\n\n### Why Svelte?\n\nWe love the ethos of writing less code, and thought building for this community would be a great place to start.\n\nBut ultimately, great unit testing is framework agnostic. We hope to support other platforms after we get to 1.0!\n\n### Why Vite/Vitest?\n\nAs apps scale in complexity, so do your dev build times. Vite combats these issues by off-loading bundling of your dev-environment to your browser and compile-to-native frameworks (like Svelte)! Learn more here.\n\nVitest is a Vite-native testing framework that takes advantage of Vite’s speed. It’s also part of the recommended testing suite for Svelte developers.\n\n### How do I use Sveste?\n\n- visit www.sveste.dev.\n- Click on the “Try It” button.\n- When Sveste opens, you’re greeted by an add (‘+’) button that prompts you to create your first describe statement.\n  Try to recreate one of your unit tests to get a feel for the navigation and test blocks.\n  Checkout the readme for more details.\n\n### What’s your stack?\n\nFrontend: Svelte\nBackend: AWS Serverless (API Gateway, Lambda, DynamoDB)\nBuild: AWS SAM, Vite\nTesting: Svelte Testing Library, Vitest\nLanguages: Svelte, TypeScript (mostly)\n\n### How can I contribute?\n\nSveste is an open source product, and thus open for contribution! Just visit our GitHub, fork it, and create or tackle any open issues!\n\n### How else can I help?\n\nSveste and similar open source products from OSLabs are made possible thanks to the support of the open source community. If you’d like to show your support, please consider:\nSharing this article.\nFollowing us on LinkedIn.\nStarring our GitHub repository.\nSupporting other projects on OSLabs and OSLabs-Beta.\n\n## Dev Setup Guide\n\nInstall the AWS CLI, AWS SAM CLI, and setup your AWS credentials.\n\nRun `npm install`.\nInstall and start Docker.\nOpen your terminal and run `npm build:dev`. This will download a docker image for DynamoDB, setup required tables, and start your dev server.\nUse `npm run dev` for any future restarts.\n\nCommon issues:\n\nAny changes to the frontend are reflected automatically thanks to Vite HMR. Changes to the backend require a restart of your dev server.\nIf you run into an [Errno 48] error after running `npm run dev` then:\nrun `ps -fA | grep sam`\nkill the appropriate processes using `kill \u003cprocess number\u003e`\n\n## Contributors\n\n\u003ca href=\"https://github.com/oslabs-beta/sveste/graphs/contributors\"\u003e\n\u003cimg src=\"https://contrib.rocks/image?repo=oslabs-beta/sveste\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foslabs-beta%2Fsveste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foslabs-beta%2Fsveste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foslabs-beta%2Fsveste/lists"}