# mizzy/serverspec

RSpec tests for your servers configured by CFEngine, Puppet, Chef, Ansible, Itamae or anything else even by hand

Repository: https://github.com/mizzy/serverspec
Canonical: https://ross.abutalabs.com/products/serverspec
Homepage: http://serverspec.org/
Language: Ruby
License: MIT
License Family: permissive
Last push: 2025-04-24T22:01:53+00:00

## Health v2 (maintenance only)
Score: 31/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 18, release rhythm 8, longevity 100
- inputs: {"age_days": 4910, "days_push": 496, "days_rel": 496, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2520, forks 358 (observed 2026-08-28T04:06:58.318055+00:00)

## What it is
Serverspec is a Ruby library for writing RSpec tests that verify servers are configured correctly, executing commands locally, via SSH, WinRM, or Docker API without requiring agents. It works with any configuration management tool such as Puppet, Chef, Ansible, CFEngine, or Itamae, and aims to help refactoring infrastructure code.

## Use cases
- test that my puppet-managed servers are configured correctly
- write rspec tests for server configuration
- verify ansible-provisioned hosts without installing agents
- check services and ports are running on remote servers over ssh
- test docker containers' configuration with rspec
- refactor infrastructure code with automated server tests

## When to choose
- you use Ruby/RSpec and want agentless infrastructure testing
- you need to verify server state across SSH, WinRM, local, or Docker backends
- you want tool-agnostic tests independent of your config management tool

## When to avoid
- you prefer modern alternatives like InSpec or Goss with more active development
- you don't use Ruby or want a non-RSpec testing workflow
- you need a project with active feature development - it is in maintenance mode with PR-only contributions

## Facets
- artifact type: library
- maturity: maintenance
- function: testing, infrastructure-as-code, configuration-management, cli
- domain: testing, infrastructure-as-code, self-hosted
- platform: ruby, windows, cli
- tags: rspec, server-testing, specinfra, ssh, winrm, infrastructure-testing, configuration-management-testing, devops, automation, linux, macos, docker

## Member repositories
- mizzy/serverspec (main) score 31

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.318055+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:26:06.199992+00:00, confidence not recorded.
  - readme: https://github.com/mizzy/serverspec (fetched 2026-08-28T04:06:58.318055+00:00, sha b541bb255f55)
  - homepage: http://serverspec.org/ (fetched 2026-08-29T10:08:09.231995+00:00, sha f6810be62bed)
  - site_page: https://serverspec.org/changes-of-v2.html (fetched 2026-08-29T10:08:09.241697+00:00, sha c222f9462647)
- Data as of 2026-08-30T08:39:29.467469+00:00.
