{"id":16942927,"url":"https://github.com/jd/overtest","last_synced_at":"2026-04-12T14:33:18.655Z","repository":{"id":66066593,"uuid":"49068451","full_name":"jd/overtest","owner":"jd","description":"Daemon managing tools for functional testing","archived":false,"fork":false,"pushed_at":"2016-03-16T15:35:00.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T04:11:37.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jd.png","metadata":{"files":{"readme":"README.rst","changelog":null,"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}},"created_at":"2016-01-05T13:44:38.000Z","updated_at":"2023-10-24T15:32:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc6bbd60-5a0e-4c08-bda4-27164633cba2","html_url":"https://github.com/jd/overtest","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Fovertest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Fovertest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Fovertest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Fovertest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jd","download_url":"https://codeload.github.com/jd/overtest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244753056,"owners_count":20504429,"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-13T21:13:17.125Z","updated_at":"2025-12-31T00:03:30.553Z","avatar_url":"https://github.com/jd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"==========\n Overtest\n==========\n\nOvertest is a suite of tools that allows to start and stop daemons for a quick\nthrow-away usage. This is typically useful when needing these daemons to run\n`integration testing`_.\n\nSupported daemons\n=================\n\nOvertest currently supports:\n\n* `PostgreSQL`_\n* `MySQL`_\n* `Memcached`_\n* `InfluxDB`_\n* `Etcd`_\n* `Redis`_ (with sentinel mode)\n* `Elasticsearch`_\n* `ZooKeeper`_\n* `Gnocchi`_\n\n.. _PostgreSQL: http://postgresql.org\n.. _MySQL: http://mysql.org\n.. _Memcached: http://memcached.org\n.. _InfluxDB: http://influxdb.org\n.. _Etcd: https://coreos.com/etcd/\n.. _Redis: http://redis.io/\n.. _Elasticsearch: https://www.elastic.co/\n.. _ZooKeeper: https://zookeeper.apache.org/\n.. _Gnocchi: http://gnocchi.xyz\n\nUsage\n=====\nTo use Overtest, simply call the `overtest $daemon` program that you need. It\nwill setup the temporary environment and export a few environment variable for\nyou to accesss it::\n\n  $ overtest postgresql psql template1\n  I: starting postgresql\n  I: started postgresql\n  I: executing command: psql template1\n  Expanded display is used automatically.\n  Line style is unicode.\n  SET\n  psql (9.4.5)\n  Type \"help\" for help.\n\n  template1=# \\l\n                                List of databases\n     Name    │ Owner │ Encoding │   Collate   │    Ctype    │ Access privileges\n  ───────────┼───────┼──────────┼─────────────┼─────────────┼───────────────────\n   postgres  │ jd    │ UTF8     │ en_US.UTF-8 │ en_US.UTF-8 │\n   template0 │ jd    │ UTF8     │ en_US.UTF-8 │ en_US.UTF-8 │ =c/jd            ↵\n             │       │          │             │             │ jd=CTc/jd\n   template1 │ jd    │ UTF8     │ en_US.UTF-8 │ en_US.UTF-8 │ =c/jd            ↵\n             │       │          │             │             │ jd=CTc/jd\n  (3 rows)\n\n  template1=# \\q\n  I: stopping postgresql\n  I: stopped postgresql\n\nYou can also source `overtest` itself in one of your script. It will set the\nenvironment up, and will clean as soon as your script exit::\n\n  #!/bin/bash\n  source overtest postgresql\n  # Do something with PostgreSQL\n  # The script will clean things for you\n\nEnvironment variables\n=====================\nOvertest exports a few environment variable:\n\n* `OVERTEST_DAEMON` which contains the name of the daemon launched\n* `OVERTEST_URL` which contains the URL to the daemon\n* `OVERTEST_$daemon_*` variables, which contains daemon specific variables,\n  such as port, database name, URL, etc.\n\n.. _integration testing: https://en.wikipedia.org/wiki/Integration_testing\n\nDriver specific options\n=======================\n\nRedis\n-----\n\nThe sentinel mode of Redis can be enabled by setting the environment variable\n`OVERTEST_REDIS_SENTINEL_ENABLE` to any value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd%2Fovertest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd%2Fovertest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd%2Fovertest/lists"}