Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

how does the dev/ecommerce page work?

Go to End

2 Posts   1026 Views


Community Member, 63 Posts

28 July 2011 at 4:01pm

Edited: 28/07/2011 4:10pm

I've found the page that is the content of the page, I guess my question is more how does the
<% control Tests %>

work because it's only showing the Shopping Cart test on my test site, but there are quite a few Test.php files in the ecommerce/tests directory.

If I look at the dev/tests dir I can see them all though.

I guess there's a method called Tests somewhere in sapphire that might not be working correctly?

I've found sapphire/dev/DevelopmentAdmin.php with a
@todo documentation for how to add new unit tests and tasks


Forum Moderator, 238 Posts

1 August 2011 at 2:32pm

The tests listed just come from a hard-coded array at the moment. The list is based on tests that actually work.

I think it'll be a good idea to remove the non-working ones.

Also note that the payment test(s) usually fail, so you end up needing to specify which tests to skip.