Skip to content

Quality Assurance Process

Sara Brumfield edited this page Sep 25, 2026 · 1 revision

Quality Assurance Process

This page describes how changes to FromThePage are developed, tested, reviewed, and released. Because FromThePage is open source, every step described here can be inspected directly in this repository.

Branching and release model

FromThePage follows the git-flow branching model:

  • Feature and fix branches. Each change is developed on its own branch, usually named after the GitHub issue it addresses (for example 2129-quality-control).
  • Pull requests. Every change is merged by pull request. Pull requests are reviewed before merging, and contributions from developers outside Brumfield Labs are always reviewed by Brumfield Labs staff. Only Brumfield Labs staff have permission to merge.
  • development (integration branch). Reviewed pull requests are merged into development, where changes are integrated and tested together.
  • fromthepage.com (production branch). Changes are released to production only by merging tested work from development into the production branch, and are deployed by Brumfield Labs staff.

Automated testing

The automated test suite lives in the spec/ directory and is written with RSpec. It includes:

  • Model, controller, request, and job specs covering application logic, permissions, and background processing
  • Feature specs that drive the application in a real browser (Capybara with Selenium) to test end-to-end user workflows
  • View, helper, and mailer specs
  • An internationalization spec that checks every supported language (English, Spanish, Portuguese, French, and German) for missing, unused, or malformed translations
  • Recorded and mocked external services (VCR and WebMock), so tests are repeatable and never depend on live third-party systems

Continuous integration

Every push and every pull request runs the CI workflow in .github/workflows/ci.yml on GitHub Actions. The workflow:

  1. Rejects leftover debugging code. The build fails if any binding.pry debugger statement is present.
  2. Builds a clean environment from scratch. It creates and migrates a fresh database (MariaDB), loads test fixtures, and builds search indexes (Elasticsearch), so database migrations are exercised on every change.
  3. Runs the full test suite, split across four parallel runners.
  4. Reports test coverage. Coverage is measured with SimpleCov and reported to Coveralls, and results are posted on every pull request so reviewers can see the effect of a change on coverage.
  5. Runs static code analysis. On pull requests, RuboCop (using the Rails "omakase" rule set plus project settings in .rubocop.yml) checks code for errors and style problems.
  6. Verifies background job workers start. It confirms that the Solid Queue background job workers boot successfully.
  7. Flags changes to production-linked configuration. It warns when a change touches configuration files that are linked to production deployments, such as rate limiting, authentication, and environment settings, so those changes get extra attention.

A pull request is not merged while CI is failing.

Manual testing

In addition to automated tests, changes are tested manually before release, with particular attention to user-facing workflows such as transcription, review, import, and export. The automated test suite lives in the spec/ directory and is written with RSpec. It includes:

  • Model, controller, request, and job specs covering application logic, permissions, and background processing
  • Feature specs that drive the application in a real browser (Capybara with Selenium) to test end-to-end user workflows
  • View, helper, and mailer specs
  • An internationalization spec that checks every supported language (English, Spanish, Portuguese, French, and German) for missing, unused, or malformed translations
  • Recorded and mocked external services (VCR and WebMock), so tests are repeatable and never depend on live third-party systems

Continuous integration

Every push and every pull request runs the CI workflow in .github/workflows/ci.yml on GitHub Actions. The workflow:

  1. Rejects leftover debugging code. The build fails if any binding.pry debugger statement is present.
  2. Builds a clean environment from scratch. It creates and migrates a fresh database (MariaDB), loads test fixtures, and builds search indexes (Elasticsearch), so database migrations are exercised on every change.
  3. Runs the full test suite, split across four parallel runners.
  4. Reports test coverage. Coverage is measured with SimpleCov and reported to Coveralls, and results are posted on every pull request so reviewers can see the effect of a change on coverage.
  5. Runs static code analysis. On pull requests, RuboCop (using the Rails "omakase" rule set plus project settings in .rubocop.yml) checks code for errors and style problems.
  6. Verifies background job workers start. It confirms that the Solid Queue background job workers boot successfully.
  7. Flags changes to production-linked configuration. It warns when a change touches configuration files that are linked to production deployments, such as rate limiting, authentication, and environment settings, so those changes get extra attention.

A pull request is not merged while CI is failing.

Manual testing

In addition to automated tests, changes are tested manually before release, with particular attention to user-facing workflows such as transcription, review, import, and export.

Accessibility

Accessibility is part of quality assurance:

  • FromThePage targets WCAG 2.1 AA conformance.
  • The University of Texas at Austin's web accessibility team scans FromThePage annually. Its findings drive a dedicated accessibility sprint.
  • Accessibility issues are tracked in the public issue tracker with the accessibility label. See also Accessibility and WCAG Compliance.

Issue tracking and known issues

Bugs, known issues, and planned work are tracked publicly in GitHub Issues. Fixes are linked to their issues through pull requests, so the full history of any fix — the report, the discussion, the code change, and its test results — is publicly visible.

Questions

Contact support@fromthepage.com with questions about this process.

Clone this wiki locally