{"id":13835648,"url":"https://github.com/rlafranchi/system_tester","last_synced_at":"2025-03-16T16:30:30.812Z","repository":{"id":59157086,"uuid":"95674710","full_name":"rlafranchi/system_tester","owner":"rlafranchi","description":"A Development Tool for creating and managing system tests for Ruby on Rails \u003e= 5.1 Applications","archived":false,"fork":false,"pushed_at":"2017-08-19T22:19:12.000Z","size":338,"stargazers_count":73,"open_issues_count":4,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-12T03:54:14.587Z","etag":null,"topics":["devtool","rails","ruby-gem","test-automation","testing-tools"],"latest_commit_sha":null,"homepage":"https://rlafranchi.github.io/system_tester/","language":"Ruby","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/rlafranchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-28T13:57:36.000Z","updated_at":"2024-01-24T13:19:16.000Z","dependencies_parsed_at":"2022-09-13T20:03:49.887Z","dependency_job_id":null,"html_url":"https://github.com/rlafranchi/system_tester","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlafranchi%2Fsystem_tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlafranchi%2Fsystem_tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlafranchi%2Fsystem_tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlafranchi%2Fsystem_tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rlafranchi","download_url":"https://codeload.github.com/rlafranchi/system_tester/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221665766,"owners_count":16860310,"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":["devtool","rails","ruby-gem","test-automation","testing-tools"],"created_at":"2024-08-04T14:01:07.425Z","updated_at":"2024-10-27T10:53:44.531Z","avatar_url":"https://github.com/rlafranchi.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/rlafranchi/system_tester.svg?branch=master)](https://travis-ci.org/rlafranchi/system_tester)\n[![Code Climate](https://codeclimate.com/github/rlafranchi/system_tester/badges/gpa.svg)](https://codeclimate.com/github/rlafranchi/system_tester)\n[![Test Coverage](https://codeclimate.com/github/rlafranchi/system_tester/badges/coverage.svg)](https://codeclimate.com/github/rlafranchi/system_tester/coverage)\n# System Tester\nA development tool for creating and managing system tests in Ruby on Rails \u003e= 5.1 applications\n\n## Usage\nThis gem is used only in development and is a mountable rails engine that creates JSON endpoints for a chrome extension.\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'system_tester', group: :development\n```\n\nAdd the system_tester db to `config/database.yml`\n```yml\n# you may want to consider a shared MySQL/Postgres database\n# if you have a team that needs shared access\nsystem_tester:\n  \u003c\u003c: *default\n  database: db/system_tester.sqlite3\n```\n\nAnd then install and run the migrations:\n```bash\n$ bundle install\n$ rails system_tester:migrate\n```\n\nMount the engine in config/routes.rb:\n```ruby\nRails.application.routes.draw do\n  # ... other routes\n  \n  # Mount in development environment only\n  if Rails.env.development?\n    mount SystemTester::Engine =\u003e \"/system_tester\"\n  end\nend\n```\n\nStart your dev server and you are good to go.\n\n## Chrome extension\n[![System Tester Demo](https://img.youtube.com/vi/bxHQKaIT7iM/0.jpg)](https://youtu.be/bxHQKaIT7iM)\n\nThe chrome extension provides a Devtools tab and acts as a client to this gem.\n\n**[ADD TO CHROME](https://chrome.google.com/webstore/detail/system-tester/ebpjncfolmfiiphibdajgblbchkklbcf)**\n\n## Design\nSystem Tester is designed to work with a chrome extension, but could potentially be used for other applications as well.\nRun `rails routes` to see what endpoints are provided.  The following design was set in place for the easy of reusing\ntesting steps:\n \n * Features - the top level: one test script for a feature\n * Scenarios - 1:M assocation from Feature to Scenario. A Scenario is one test method.\n * Steps - Basically a line of code that can be an action or an assertion. STI is used to provide different step types.\n * ScenarioSteps - M:M assocation for Steps and Scenarios which also as a position attribute to allow for reordering.\n * Stairs - an ordered group of steps that can be reused.\n * StairSteps - M:M association to support stairs, Stair inherits from Step so the fk points back to the same table.\n\n## License\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlafranchi%2Fsystem_tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frlafranchi%2Fsystem_tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlafranchi%2Fsystem_tester/lists"}