Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

behat:analyze

Ryan Gurnick edited this page Jul 14, 2016 · 2 revisions

#behat:analyze

Example Command Syntax

php artian behat:analyze

What it does

This command in the laravel suite will go throught the tests_results table and get all of the results that have not been analyzed and attempt to figure out what the error was and give some helpful notes as to what might be wrong.

Process Hiercharchy

  • Gets all of the results that have not been analyzed.
  • Foreach of the results that it got
    • Check the result against the plain text errors array
    • Check the result against the regex errors array
    • Save the message to the database.

Constructor

  • Defines all of the plain text errors and all of the regex errors.

Clone this wiki locally