Bc Testing logo

Bc Testing

Organization
OrcaQubits
bc-testing

Test BigCommerce integrations — API testing, Stencil theme testing, Cypress/Playwright E2E tests, webhook testing, and sandbox stores. Use when writing tests for BigCommerce apps, themes, or integrations.

Overview

PublisherOrcaQubits
Repositoryagentic-commerce-skills-plugins
Skill namebc-testing
Stars
40
Forks
17
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by OrcaQubits on GitHub. Read the source before you install it.

Installation

Install the Bc Testing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-testing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/bigcommerce-commerce/skills/bc-testing .claude/skills/bc-testing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bc Testing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bc Testing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bc Testing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

BigCommerce Testing

Before writing code

Fetch live docs:

  1. Web-search site:developer.bigcommerce.com testing for testing guidance
  2. Web-search bigcommerce stencil theme testing for theme testing patterns
  3. Web-search bigcommerce api testing sandbox for sandbox store setup

Testing Environments

Sandbox Stores

BigCommerce provides sandbox/trial stores for testing:

  • Free trial stores (limited time)
  • Partner sandbox stores (BigCommerce Partner Program)
  • Use for: API testing, theme development, app development
  • Never test against production stores

Test vs Production Credentials

  • Create separate API credentials for test environments
  • Use test/sandbox mode for payment gateways (Stripe test keys, PayPal sandbox)
  • Use different webhook endpoints for test environments

API Testing

Testing REST API Calls

Use tools like Postman, Insomnia, or curl:

bash
curl -X GET \
  https://api.bigcommerce.com/stores/{hash}/v3/catalog/products \
  -H 'X-Auth-Token: {token}' \
  -H 'Accept: application/json'

Automated API Tests

Write integration tests that exercise the BigCommerce API:

javascript
// Jest/Vitest example
describe('Products API', () => {
  it('should create a product', async () => {
    const response = await fetch(`${API_URL}/v3/catalog/products`, {
      method: 'POST',
      headers: { 'X-Auth-Token': TOKEN, 'Content-Type': 'application/json' },
      body: JSON.stringify([{ name: 'Test Product', type: 'physical', price: 9.99, weight: 1 }]),
    });
    expect(response.status).toBe(200);
    const data = await response.json();
    expect(data.data[0].name).toBe('Test Product');
    // Cleanup: delete the test product
  });
});

Testing Rate Limits

  • Monitor X-Rate-Limit-Requests-Left header in tests
  • Add delays between rapid API calls
  • Test your retry/backoff logic

Testing Pagination

  • Create enough test data to exceed one page
  • Verify your pagination logic handles pageInfo / meta.pagination correctly
  • Test edge cases: empty results, last page, single item

GraphQL Testing

GraphQL Playground

Use GraphQL explorers to test queries:

  • Apollo Studio, GraphQL Playground, or graphql-request library
  • Storefront API endpoint: https://{store_url}/graphql
  • Include Authorization: Bearer {storefront_token} header

Automated GraphQL Tests

javascript
describe('GraphQL Storefront', () => {
  it('should fetch products', async () => {
    const query = `{ site { products(first: 5) { edges { node { name entityId } } } } }`;
    const response = await fetch(`${STORE_URL}/graphql`, {
      method: 'POST',
      headers: { Authorization: `Bearer ${STOREFRONT_TOKEN}`, 'Content-Type': 'application/json' },
      body: JSON.stringify({ query }),
    });
    const { data } = await response.json();
    expect(data.site.products.edges.length).toBeGreaterThan(0);
  });
});

Stencil Theme Testing

Local Testing with Stencil CLI

stencil start provides a local development server:

  • Live reload on template/SCSS/JS changes
  • Proxies API data from your BigCommerce store
  • Test theme changes locally before pushing

Visual Testing

  • Test across theme variations (config.json variations)
  • Test responsive layouts at multiple breakpoints
  • Verify dynamic content (front matter data injection)
  • Test with different product types, category structures

Theme Bundle Validation

stencil bundle validates the theme before upload:

  • Checks template syntax
  • Validates config.json and schema.json
  • Reports errors and warnings

Webhook Testing

Local Webhook Testing

Use tunneling tools for local webhook development:

  • ngrok http 3000 — expose local port to public URL
  • Register the ngrok URL as webhook destination
  • Trigger events in BigCommerce admin (create order, update product)
  • Inspect webhook payloads in your local handler

Webhook Replay

Log all webhook payloads during development for replay testing:

  • Store raw request body and headers
  • Replay recorded payloads in tests
  • Test idempotency (replay same webhook multiple times)

E2E Testing

Playwright/Cypress

Test complete user flows against a running BigCommerce store:

javascript
// Playwright example
test('complete purchase flow', async ({ page }) => {
  await page.goto('/products/test-product');
  await page.click('button:has-text("Add to Cart")');
  await page.goto('/cart');
  await page.click('a:has-text("Proceed to Checkout")');
  // Fill checkout fields...
  await page.click('button:has-text("Place Order")');
  await expect(page.locator('.order-confirmation')).toBeVisible();
});

What to Test E2E

  • Product browsing and search
  • Add to cart and cart management
  • Full checkout flow (with test payment gateway)
  • Customer registration and login
  • My Account pages (orders, addresses, wishlists)
  • Responsive design across viewports

App Testing

OAuth Flow Testing

  • Test install callback with valid and invalid auth codes
  • Test load callback JWT verification
  • Test uninstall callback cleanup
  • Test with multiple stores (different store hashes)

Webhook Subscription Testing

  • Verify webhook creation via API
  • Test webhook handler with sample payloads
  • Test retry handling (return non-200 to trigger retry)
  • Test deactivation recovery

Best Practices

  • Use sandbox stores — never test destructively against production
  • Clean up test data after each test run
  • Test rate limit handling and backoff logic
  • Mock external APIs (payment gateways) in unit tests
  • Use real BigCommerce APIs in integration tests
  • Test with different store configurations (tax, currency, shipping)
  • Use ngrok/tunnels for webhook development
  • Validate API responses against expected schemas
  • Test error paths — invalid data, missing fields, auth failures

Fetch the BigCommerce developer documentation for current testing guidance, sandbox store setup, and API testing patterns before implementing.

Frequently asked questions

What does the Bc Testing AI skill do?

Test BigCommerce integrations — API testing, Stencil theme testing, Cypress/Playwright E2E tests, webhook testing, and sandbox stores. Use when writing tests for BigCommerce apps, themes, or integrations.

Why use Bc Testing on TypingMind?

Because you install it once and use it with any model. Bc Testing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bc Testing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-testing. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bc Testing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bc Testing?

As many as you like. As long as a model supports skills, you can use Bc Testing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bc Testing AI skill free?

Yes. It is published on GitHub by OrcaQubits under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇