Testing ActiveMerchant with cucumber / capybara

How to test Paypal Express Gateway with cucumber (with capybara) and activemerchant. I have ActiveMerchant in test mode and I want to test the testing process of my shopping cart. Ultimately, you will also want to use a VCR.

Any hints or pointers like googling have no examples.

+4
source share
1 answer

You can click the application online on heroku (create an intermediate environment if you want), and then check with saucelabs.com and sauce_ruby. This gives you a selenium connector that you can use with your rspec / oucumber tests (also capybara), and it can record the video output of the test to the website while the test result is displayed on your console.

0
source

Source: https://habr.com/ru/post/1385895/


All Articles