Skip to content

Initial release

Compare
Choose a tag to compare
@ivangrynenko ivangrynenko released this 06 Sep 06:49
· 14 commits to main since this release

Release Notes for Scaffold Testing Library Version 0.2

We are excited to announce the release of Scaffold Testing Library version 0.2. This release brings several enhancements and new features designed to improve the ease and effectiveness of implementing Behat tests across Drupal projects.

What's New in 0.2

  • Enhanced Test Coverage:

    • Added new Behat test scenarios for common functionalities within Drupal sites including login processes and search functionalities, alongside the existing homepage feature tests.
  • Improved Installation Process:

    • Streamlined the library installation process to make integration into projects faster and more reliable.
  • New Feature Files:

    • homepage.feature: Ensures the homepage loads successfully and contains specific keywords or phrases.
    • login.feature: Tests the login process to ensure it handles credentials correctly.
    • search.feature: Ensures that the search functionality works and returns expected results.

Bug Fixes

  • Fixed an issue where the feature file paths were not being correctly targeted, leading to failures in test initializations.

Upgrading

To upgrade to the latest version, please follow these steps:

  1. Update your project's dependency using Composer:

    composer require salsadigitalauorg/scaffold-testing:^0.2
  2. Run the installation command to ensure that new features are correctly set up:

    composer install-features
  3. Verify that new tests are properly placed and configured in your tests/behat/features/ directory.

Contributing

We welcome contributions to the Scaffold Testing Library. Please read our contributing guidelines located in the project repository to see how you can participate in making our project better.

Acknowledgments

Thank you to all the contributors who helped with the development of this release. Your efforts are greatly appreciated!