https://github.com/gnikyt/shopify_api_test_example
Examples on how to use mocks and fixtures to test your Shopify API calls.
https://github.com/gnikyt/shopify_api_test_example
express ruby shopify shopify-api testing
Last synced: 2 months ago
JSON representation
Examples on how to use mocks and fixtures to test your Shopify API calls.
- Host: GitHub
- URL: https://github.com/gnikyt/shopify_api_test_example
- Owner: gnikyt
- Created: 2016-03-04T05:21:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-05T14:28:41.000Z (about 9 years ago)
- Last Synced: 2025-02-09T04:26:18.245Z (over 1 year ago)
- Topics: express, ruby, shopify, shopify-api, testing
- Language: Ruby
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shopify API Test Example
[](http://travis-ci.org/ohmybrew/shopify_api_test_example)
This repository outlines simple code on how to use mocks, fixtures, and tests, to test your Shopify API calls.
## Installation
```bash
git clone https://github.com/ohmybrew/shopify_api_test_example.git
cd shopify_api_test_example
bundle install --path vendor/bundle
bundle exec rake SHOPIFY_SHOP=coolshop.myshop.com
```
## Final Thoughts
Take a look at the `test/metafields_test.rb` file for how to implement and expand upon the tests for your own applications.