how do I run remote tests for a specific gateway?

8 views
Skip to first unread message

gblakeman

unread,
May 14, 2008, 10:39:11 AM5/14/08
to Active Merchant
Hi, this is probably something I should be able to figure out, but I
don't understand how to run remote tests for a specific gateway. I've
been looking through the discussions and see a lot of references like:

"run the test transactions in test/remote/gateways/
remote_authorize_net_test.rb"

But could someone give me an example of how to do that from the
command line?

Thanks!

Cody Fauser

unread,
May 14, 2008, 10:55:53 AM5/14/08
to activem...@googlegroups.com
Grant,

You can run the following from the root directory of ActiveMerchant:

ruby test/remote/gateways/remote_authorize_net_test.rb

Replace with the gateway you want to run the tests for.

--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails

Reply all
Reply to author
Forward
0 new messages