All Projects → 18F → automated-testing-playbook

18F / automated-testing-playbook

Licence: other
A set of principles, practices, idioms, and strategies pertaining to automated software testing and its adoption

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to automated-testing-playbook

Redfish Ansible Module
Ansible modules for Out-Of-Band Controllers using Redfish APIs
Stars: ✭ 139 (+178%)
Mutual labels:  playbook
Nci Ansible Ui
Simple web interface for running Ansible playbooks
Stars: ✭ 217 (+334%)
Mutual labels:  playbook
k0s-ansible
Create a Kubernetes Cluster using Ansible and the vanilla upstream Kubernetes distro k0s.
Stars: ✭ 56 (+12%)
Mutual labels:  playbook
Graylog Ansible Role
Ansible role which installs and configures Graylog
Stars: ✭ 173 (+246%)
Mutual labels:  playbook
Playbook
Vinta's Best Moves Compiled
Stars: ✭ 181 (+262%)
Mutual labels:  playbook
Ansible Playbook Grapher
A command line tool to create a graph representing your Ansible playbook tasks and roles
Stars: ✭ 234 (+368%)
Mutual labels:  playbook
Ansible Role K3s
Ansible role for installing k3s as either a standalone server or HA cluster.
Stars: ✭ 132 (+164%)
Mutual labels:  playbook
ansible-war-deploy
A playbook to deploy a WAR on Tomcat & restart it.
Stars: ✭ 20 (-60%)
Mutual labels:  playbook
Ansible Ubuntu
Ansible scripts to setup Ubuntu desktop/server
Stars: ✭ 182 (+264%)
Mutual labels:  playbook
ansible-openstack
Openstack made easy
Stars: ✭ 13 (-74%)
Mutual labels:  playbook
Ansible Collection Hardening
This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
Stars: ✭ 2,543 (+4986%)
Mutual labels:  playbook
Team
sweet home
Stars: ✭ 180 (+260%)
Mutual labels:  playbook
drupalci-sonar-jenkins
DEPRECATED - Drupal CI environment with SonarQube and Jenkins for Drupal Core code analysis.
Stars: ✭ 40 (-20%)
Mutual labels:  playbook
Terrible
An Ansible playbook that apply the principle of the Infrastructure as Code on a QEMU/KVM environment.
Stars: ✭ 161 (+222%)
Mutual labels:  playbook
wordpress-ansible-playbook
An ansible playbook for setting up production and staging WordPress site(s). Nginx, php7.3, ssl ready (via letsencrypt), mariadb.
Stars: ✭ 85 (+70%)
Mutual labels:  playbook
Ansible Playbook Bundle
THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
Stars: ✭ 136 (+172%)
Mutual labels:  playbook
Rollback
Ansible role to rollback scripting applications like PHP, Python, Ruby, etc. in a capistrano style
Stars: ✭ 230 (+360%)
Mutual labels:  playbook
mastible
An Ansible playbook to install Mastodon
Stars: ✭ 17 (-66%)
Mutual labels:  playbook
mac-setup-playbooks
Ansible playbooks for setting up mac
Stars: ✭ 32 (-36%)
Mutual labels:  playbook
guides
Dealerdirect guides for getting things done, be a programming role-model, coding in style and being the better colleague.
Stars: ✭ 21 (-58%)
Mutual labels:  playbook

Automated Testing Playbook

A set of principles, practices, idioms, and strategies pertaining to automated software testing and its adoption.

WORK IN PROGRESS: This material is currently in draft form and under active development. See the GitHub issues page to examine progress.

This guide is a distillation of the principles found in Mike Bland's Unit Testing Perspectives presentation, licensed under CC BY 4.0, based on a high-level outline by Mike and Dr. Robert Read of 18F. It also contains content copied directly from several of Mike's personal blog posts as well as some of his posts on AutoTest Central; both blogs are also licensed under CC BY 4.0.

This playbook is divided into five sections:

Automated Testing Roadmap

A roadmap towards improving a team's automated testing practices, loosely based on Google's Test Certified program.

Principles, Practices and Idioms

Fundamental automated testing and design concepts that inform the craft of writing automated tests and testable code.

APIs and Legacy Systems

Technical impediments to the automated testing of existing systems and how to overcome them.

Rapid Prototyping

When it's OK to get by without writing automated tests, and when it's time to switch gears and add them.

Education and Advocacy

Models and strategies for driving adoption of automated testing throughout a development culture.

Generating the site/hosting locally

You will need Ruby ( > version 2.1.5 ). You may also consider using a Ruby version manager such as rbenv to help ensure that Ruby version upgrades don't mean all your gems will need to be rebuilt.

To run your own local instance:

$ git clone [email protected]:18F/automated-testing-playbook.git
$ cd automated-testing-playbook
$ ./go init
$ ./go serve

This will check that your Ruby version is supported, install the Bundler gem if it is not yet installed, install all the gems needed by the playbook, and launch a running instance on http://localhost:4000/automated-testing-playbook/.

After going through these steps, run ./go to see a list of available commands. The serve command is the most common for routine development.

Contributing

  1. Fork the repo ( https://github.com/18F/automated-testing-playbook/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Feel free to ping @mbland with any questions you may have, especially if the current documentation should've addressed your needs, but didn't.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].