Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.79 KB

README.md

File metadata and controls

71 lines (49 loc) · 1.79 KB

Kommerce

Kohana PHP E-commerce Platform

Introduction

Zen Kommerce is a PHP shopping cart system written in the Kohana framework. More information can be found here.

Vagrant Setup

	vagrant up

Local Setup

  • Download Maxmind DB
	./run_minion.sh "--task=Maxmind:GeoLite2 --city=1"

Code Tests

	# run all tests from the project root
	./run_tests.sh

	# run only unit tests
	./run_tests.sh unit

	# run only acceptance tests
	./run_tests.sh acceptance

	# run single test
	./run_tests.sh tests/acceptance/101WelcomeCept.php
	./run_tests.sh "tests/acceptance/101WelcomeCept.php --steps"
  • Selenium
    • You can run the acceptance tests in Selenium; however, not all tests are verified to work.
    • Edit tests/acceptance.suite.yml to enable Selenium2 and comment out PhpBrowser and WebHelper.
	SELENIUM=selenium-server-standalone-2.33.0.jar
	wget http://selenium.googlecode.com/files/$SELENIUM
	mv $SELENIUM ~/bin/
	chmod +x ~/bin/

	# in a separate terminal
	java -jar ~/bin/$SELENIUM

Articles

License

Copyright Ink Labs, LLC All Rights Reserved.