LocalGov Drupal Docs
Overview
  • Developers
  • Content designers
  • Designers
  • Contributing
  • Credits System
  • Accessibility
  • Governance
Microsites
Main site
GitHub
Overview
  • Developers
  • Content designers
  • Designers
  • Contributing
  • Credits System
  • Accessibility
  • Governance
Microsites
Main site
GitHub
  • For Developers
  • Getting started
    • Drupal requirements
    • Working with Lando
    • Working with DDEV
    • Debugging with Xdebug
    • Working with Gitpod
  • General configuration
    • Content types
    • Custom modules
    • Image styles
    • Media types
    • Paragraph types
    • Taxonomies
    • User roles
  • Features
    • Services: Technical
    • Alert banners: Technical
    • News: Technical
    • Directories: Technical
    • Location Geo: Technical
    • Subsites: Technical
    • Workflows: Technical
  • Theme
    • LocalGov Base
    • Regions
    • LocalGov Theme (Deprecated)
    • Skeleton theme (Deprecated)
    • Admin theme (Deprecated)
  • Testing
  • Development workflows
    • Installing and deploying a LocalGov Drupal site
  • Hosting
    • Hosting a LocalGov Drupal site
    • Hosting LocalGov Drupal on Azure
  • Release statuses
    • Release statuses
  • Security
    • Best practice guidance
    • Single Sign-On
  • Quality standards
    • Quality standards: Accessibility
    • Quality standard: Documentation
    • Quality standard: Testing
      • 1. Existing tests pass
      • 2. Add new automated tests
  • How-tos
    • How to use Gitpod to test modules in the browser

Quality standard: Testing

Let's make sure our code keeps working with any other changes that are introduced over time.

LocalGov Drupal already has good test coverage, which helps us avoid releasing updates that break existing functionality.

Before recommending a project for use with LopcalGov Drupal, project maintainers should confirm the following.

1. Existing tests pass

Check existing test coverage and ensure all tests pass. Currently the localgov_project runs all tests on a daily basis.

See https://github.com/localgovdrupal/localgov_project/actions

2. Add new automated tests

Add new tests to cover any new functionlality

For furthter reference, please see recomendations for testing on drupal.org.

Help us improve this page!
Last Updated: 5/29/2024, 5:26:21 PM
Prev
Quality standard: Documentation