/technicalTask

technical task

Primary LanguagePHPMIT LicenseMIT

Technical Test

Command that count total price of an orders with given XML file.

Command name:

  • acme:discount

Usage:

  • php app/console acme:discount src/Acme/DemoBundle/Tests/Command/Fixtures/test_1.xml
  • php app/console acme:discount src/Acme/DemoBundle/Tests/Command/Fixtures/test_2.xml
  • php app/console acme:discount src/Acme/DemoBundle/Tests/Command/Fixtures/test_3.xml

To run behat tests simply use

  • bin/behat