Post by Chorvus » Mon Jan 07, 2013 12:16 pm

Hello OC dev community,

The lack of integrated unit tests in OC hurts the quality image and is a common requirement these days especially when e-commerce software is mission-critical most of the times.

The OC head dev closed my ticket on that matter on GitHub (how uncommon... >:D ) with the excuse that a test suite should not be part of the core. As much as I disagree with this decision I have to respect it, so I decided to team up with some of you OC gurus and get working on it as a separate project.

I'm not familiar with php testing frameworks (yet) but I can contribute to and audit the process of writing unit tests, examining code coverage etc.

The project will be open source (probably under MIT osl) and hosted on github and/or, or whatever we decide upon. The suit should cover at least the core components and functions and the most common payment gateways. When the project matures there should be an interface to augment tests, that mods and plugins will use to provide the correct behavior of their changes.

Any suggestions, comments, criticism?
Who's in?

With regards,
Alex "Chorvus" Tzo



Mon Jan 07, 2013 11:54 am

Post by openmandrake » Wed Apr 10, 2013 3:36 am

great idea. I would love to participate! I have no idea how the current opencart system is unit tested, and it is quite unclear to me if there is even some testing done at all (besides manual testing)...

I developed already some custom extensions for a project, which don't have any automatic tests. I am very unhappy about that, however i had no time to create a test suite yet, altough i have some ideas...

How could we start this? Maybe we do some brainstorming to bootstrap this in a skype chat or so?

Checkout our extensions, or our open source projects

New member


Wed Oct 31, 2012 3:05 am

Post by miechuliv » Sun Jun 30, 2013 2:55 am


I'm currently working on a test suite and I have created some basic tests. I'll upload them soon. Opencart really needs tests.



Sun Jun 30, 2013 2:52 am

Post by joeymagsino » Sat Oct 19, 2013 11:55 am

i love this idea. any upate on this?



Thu Apr 05, 2012 1:21 pm

Post by rph » Sat Oct 19, 2013 2:20 pm

As far as I know the only project to ever get off the ground was at and it appears to be dead now.


Expert Member


Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by AbbleWarme » Tue Nov 05, 2013 2:35 pm

I developed already some custom extensions for a project.

I also keep a sexy stockings each of Better Than Bouillon beef and chicken in the fridge.



Mon Oct 28, 2013 6:16 pm
Who is online

Users browsing this forum: No registered users and 7 guests