> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/contributor/contributor-ko/contributor-guides/testing-standards.md).

# 테스트 표준

이 섹션에서는 Decentraland 프로젝트 전반의 다양한 서비스와 UI에서 테스트가 수행되는 방식을 설명합니다.

이 문서에서 키워드 "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", 및 "OPTIONAL"은 다음에 설명된 대로 해석해야 합니다. [RFC 2119](https://datatracker.ietf.org/doc/html/rfc2119).

## 개요

테스트는 우리의 개발 프로세스에서 매우 중요한 부분입니다. 우리는 모든 프로젝트 전반에서 테스트 범위와 품질에 대해 높은 기준을 유지합니다. 이 문서는 다음에 대한 포괄적인 지침을 제공합니다:

* [**테스트 작성**](/contributor/contributor-ko/contributor-guides/testing-standards/writing-tests.md) - 유지보수 가능하고 명확한 테스트를 작성하기 위한 일반 원칙과 패턴
* [**UI 테스트**](/contributor/contributor-ko/contributor-guides/testing-standards/testing-uis.md) - React 컴포넌트, Redux saga, reducer, selector, action creator 테스트
* [**서비스 테스트(Well-Known-Component)**](/contributor/contributor-ko/contributor-guides/testing-standards/testing-services-wkc.md) - well-known-component 아키텍처로 구축된 모듈형 서비스 테스트
* [**서비스 테스트(더 이상 사용되지 않음)**](/contributor/contributor-ko/contributor-guides/testing-standards/testing-services-deprecated.md) - 서비스 테스트를 위한 기존 방식(참고용)
* [**엔드투엔드 테스트**](/contributor/contributor-ko/contributor-guides/testing-standards/testing-e2e.md) - Cypress를 사용한 E2E 테스트(진행 중)

## 테스트 철학

우리의 테스트 접근 방식은 다음을 강조합니다:

* **명확성** - 테스트는 스스로 설명적이어야 하며 이해하기 쉬워야 합니다
* **유지보수성** - 요구사항이 변경될 때 테스트를 쉽게 업데이트할 수 있어야 합니다
* **격리** - 각 테스트는 다른 테스트에 영향을 주지 않고 독립적으로 실행되어야 합니다
* **범위** - 모든 핵심 경로와 엣지 케이스를 테스트해야 합니다
* **값** - 테스트는 코드가 의도한 대로 동작한다는 확신을 제공해야 합니다

## 빠른 링크

* [다음으로 컨텍스트를 설명하는 방법 `describe`](/contributor/contributor-ko/contributor-guides/testing-standards/writing-tests.md#describing-and-building-context)
* [다음으로 기대값을 작성하는 방법 `테스트`](/contributor/contributor-ko/contributor-guides/testing-standards/writing-tests.md#describing-expectations-and-executing-code)
* [무엇을 언제 테스트할지](/contributor/contributor-ko/contributor-guides/testing-standards/writing-tests.md#what-to-test)
* [언제 그리고 어떻게 모킹할지](/contributor/contributor-ko/contributor-guides/testing-standards/writing-tests.md#when-to-mock)

## 관련 표준

* [종속성 관리](/contributor/contributor-ko/contributor-guides/dependency-management.md) - npm 종속성과 peerDependencies 관리
* [UI 표준](https://github.com/decentraland/docs/blob/main/contributor/contributor-guides/ui-standards/README.md) - Redux 및 RTK Query 패턴
* [API 문서](/contributor/contributor-ko/contributor-guides/api-documentation.md) - OpenAPI 문서 표준


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.decentraland.org/contributor/contributor-ko/contributor-guides/testing-standards.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
