AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Testing

skill-neha-rn-developer-skills-testing · by Neha

Guidance for testing React Native code — unit tests for logic, component tests for behaviour, E2E for critical paths, and edge-case coverage. Use when adding tests, reviewing test quality, or setting a coverage bar.

No reviews yet
0 installs
19 views
0.0% view→install

Install

$ agentstack add skill-neha-rn-developer-skills-testing

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-neha-rn-developer-skills-testing)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Testing? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Testing Skill

Applicability

  • Platforms: iOS and Android
  • React Native: 0.76+ (New Architecture interop assumed unless a checklist item says otherwise)

When to Use

  • Adding tests for a new feature, hook, or utility
  • Reviewing whether a change is adequately tested before merge
  • Deciding what to test and at which level
  • Investigating a regression that tests should have caught

Guidance

What to Test

  • [ ] Unit tests for hooks and utility functions
  • [ ] Component tests for user-facing behaviour, not implementation details
  • [ ] End-to-end flow for each critical path (e.g. with Maestro), where applicable
  • [ ] Edge cases covered: empty data, error state, offline, large data sets

How to Test

  • [ ] Mocks are minimal — prefer real implementations where practical
  • [ ] No snapshot tests as a primary assertion (brittle, low signal)
  • [ ] Tests assert observable behaviour and outputs, not internal calls
  • [ ] Each test is independent and does not rely on execution order

Incorrect:

// Asserts an implementation detail — breaks on harmless refactors
expect(component.find('useFetchUsers')).toHaveBeenCalled();

Correct:

// Asserts what the user sees
render();
expect(await screen.findByText('Ada Lovelace')).toBeOnTheScreen();

Pitfalls

  • Snapshot tests fail on every harmless markup change, training the team to update them without reading — they catch little and erode trust.
  • Over-mocking produces tests that pass while the real integration is broken; mock only what you must (network, native modules).
  • Testing implementation details (which hook ran, internal state) makes refactoring painful even when behaviour is unchanged.
  • Skipping edge cases (empty, error, offline) leaves the exact states users hit in production untested.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.