Repository navigation
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.
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 intodevelopment, where changes are integrated and tested together. -
fromthepage.com(production branch). Changes are released to production only by merging tested work fromdevelopmentinto the production branch, and are deployed by Brumfield Labs staff.
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
Every push and every pull request runs the CI workflow in .github/workflows/ci.yml on GitHub Actions. The workflow:
-
Rejects leftover debugging code. The build fails if any
binding.prydebugger statement is present. - 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.
- Runs the full test suite, split across four parallel runners.
- 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.
-
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. - Verifies background job workers start. It confirms that the Solid Queue background job workers boot successfully.
- 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.
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
Every push and every pull request runs the CI workflow in .github/workflows/ci.yml on GitHub Actions. The workflow:
-
Rejects leftover debugging code. The build fails if any
binding.prydebugger statement is present. - 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.
- Runs the full test suite, split across four parallel runners.
- 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.
-
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. - Verifies background job workers start. It confirms that the Solid Queue background job workers boot successfully.
- 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.
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 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
accessibilitylabel. See also Accessibility and WCAG Compliance.
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.
Contact support@fromthepage.com with questions about this process.