Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.17 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.17 KB

Redirect Checker

Automated URL redirection checker

Features

  • Automate URL redirections tests for your application
  • Add origin and destination urls to ensure redirections are working properly
  • Seamless integration with your existing project
  • Simple YAML file to define tests

Installation and usage

  1. Install this component using Composer
$ composer require gorkalaucirica/redirect-checker
  1. Create your yaml file
# tests/redirections/example.yml
https://google.com/services: https://www.google.com/services/
http://google.es/preferences: https://www.google.es/preferences
http://support.google.com: https://support.google.com/
  1. Run the command
$ ./bin/redirect-checker yaml tests/redirections/example.yml
$ ./bin/redirect-checker yaml tests/redirections/example-non-absolute.yml --base-url="https://www.google.com" 

Licensing Options

License