{"id":17773992,"url":"https://github.com/svenfuchs/test_server","last_synced_at":"2025-05-13T02:27:48.270Z","repository":{"id":455935,"uuid":"79664","full_name":"svenfuchs/test_server","owner":"svenfuchs","description":"Playing around with a test server for Rails that keeps the environment loaded (just like spec_server)","archived":false,"fork":false,"pushed_at":"2009-01-25T23:22:27.000Z","size":92,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T06:01:49.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/svenfuchs.png","metadata":{"files":{"readme":"README.textile","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":"2008-11-22T22:07:42.000Z","updated_at":"2019-08-13T13:43:54.000Z","dependencies_parsed_at":"2022-07-07T23:38:49.374Z","dependency_job_id":null,"html_url":"https://github.com/svenfuchs/test_server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftest_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftest_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftest_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Ftest_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenfuchs","download_url":"https://codeload.github.com/svenfuchs/test_server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253858700,"owners_count":21974980,"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":[],"created_at":"2024-10-26T21:47:42.801Z","updated_at":"2025-05-13T02:27:48.221Z","avatar_url":"https://github.com/svenfuchs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"h1. test_server\n\nJust playing ...\n\nYou might be able to install this as a plugin and then:\n\n# start the server: \u003ccode\u003evendor/plugins/test_server/bin/server\u003c/code\u003e\n# run some tests: \u003ccode\u003evendor/plugins/test_server/bin/test --pattern=[pattern]\u003c/code\u003e\n# run some specs: \u003ccode\u003evendor/plugins/test_server/bin/spec spec\u003c/code\u003e\n\nThe default pattern used for test is test/**/*_test.rb. The spec script uses the default RSpec option parser and runner so you can use whatever you'd use with the spec command.\n\nThe environment is loaded only once while the server is up. It will not be loaded when the server starts but when you first run some tests. This is so the server is immediately available. Not sure if that makes so much sense but it seems more convenient to me :)\n\nSubsequent runs of your testsuite then won't load the environment any more which usually makes them run much faster in total.\n\nh3. Credits\n\nHeavily inspired by David Chelimsky's \"spec_server\":http://github.com/dchelimsky/rspec-rails/tree/master/generators/rspec/templates/script/spec_server which was based on Florian Weber's \"TDDMate\":http://rubyforge.org/projects/tddmate.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Ftest_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenfuchs%2Ftest_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Ftest_server/lists"}