testing-guide

Define Jest and React Native Testing Library conventions for ArabyBuddy tests.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/AhmedAGadir/arabybuddy --skill testing-guide-ahmedagadir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-guide
Source: https://github.com/AhmedAGadir/arabybuddy/tree/main/.claude/skills/testing-guide
Command: npx skills add https://github.com/AhmedAGadir/arabybuddy --skill testing-guide-ahmedagadir

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides clear guidelines and conventions for testing within the ArabyBuddy project, ensuring consistency and quality across automated and manual testing efforts.

Core Features & Use Cases

  • Colocated Tests: Tests reside alongside the source code for better maintainability.
  • Unit & Component Testing: Utilizes Jest and React Native Testing Library for focused testing of logic and components.
  • Manual Testing Framework: Defines a structured approach for manual, end-to-end testing of features, including test case formats and run tracking.
  • Testing Philosophy: Emphasizes testing behavior over implementation and using user-centric selectors.

Quick Start

Run npm run test to execute unit and component tests.

Frequently Asked Questions about testing-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize testing practices for a React Native project?

You can standardize testing by enforcing colocated test structures alongside source code and defining conventions for unit, component, and manual testing using Jest and React Native Testing Library.

What is the best way to structure manual testing for mobile features?

The best way to structure manual testing is by defining a structured approach for end-to-end feature verification, including specific test case formats and tracking mechanisms for manual test runs.

How do I run unit and component tests with Jest and React Native Testing Library?

To run unit and component tests, execute the command `npm run test` in your terminal, which runs the Jest test suite for your colocated test files.

Does colocating tests with source code improve test maintainability?

Colocating tests with source code improves maintainability by keeping tests adjacent to the components and logic they verify, ensuring easier navigation and updates within the project structure.

What testing philosophy should I follow for comprehensive test coverage?

A comprehensive testing philosophy emphasizes testing behavior over implementation details, using user-centric selectors to verify happy, alternative, and unhappy execution paths.

Can I use this testing guide for projects without React Native dependencies?

This guide specifies tools like Jest and React Native Testing Library, meaning it is primarily designed for React Native environments and may require adaptation for non-React Native projects.