---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://yandex.com/dev/games/doc/en/sdk/cocos/testing.md
  - https://yandex.com/dev/games/doc/hi/sdk/cocos/testing.md
  - https://yandex.com/dev/games/doc/ko/sdk/cocos/testing.md
  - https://yandex.com/dev/games/doc/ru/sdk/cocos/testing.md
  - https://yandex.com/dev/games/doc/tr/sdk/cocos/testing.md
  - https://yandex.com/dev/games/doc/vi/sdk/cocos/testing.md
  - https://yandex.com/dev/games/doc/zh/sdk/cocos/testing.md
  - href: https://yandex.com/dev/games/doc/ko/sdk/cocos/testing.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/dev/games/doc/ko/llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/ko/llms.txt

# 테스트

게임은 로컬 서버에서 플랫폼으로 실행할 수 있어 SDK와 관련된 기능의 개발 및 테스트가 용이합니다.

게임을 추가하려면 [게임 초안 추가](https://yandex.com/dev/games/doc/ko/console/add-new-game.md)를 Yandex Games 콘솔을 사용하여 수행해야 합니다.

## 빌드 설정

먼저 **Project** → **Build** 패널에서 프로젝트의 빌드를 설정해야 합니다.

![](../../_images/cocos/test-1.png)

열린 창에서 **New Build Task**을 클릭하여 새로운 빌드 구성을 생성하세요.

옵션을 설정합니다. 일반적으로 디버깅을 쉽게 하기 위해 **Source Maps**와 **Debug** 요소를 활성화하는 것이 좋습니다.

![](../../_images/cocos/test-2.png)

설정이 완료되면 **Build** 버튼을 눌러 프로젝트를 빌드하세요.

그런 다음, 프로젝트가 있는 폴더로 이동합니다. 다음과 유사한 구조의 폴더를 보게 될 것입니다:

```text
Project name/
└── build/
    └── debug/
        ├── ...
        └── index.html
```

## 로컬 서버 설정

자세한 정보는 [로컬 서버에서 게임 실행하기](https://yandex.com/dev/games/doc/ko/concepts/local-launch.md) 섹션을 참조하세요.

### 테스트

로컬 서버가 실행되면, 당신의 게임을 테스트할 수 있습니다. 이 링크에서 XXXXXX는 당신의 드래프트 코드입니다:

```text
https://yandex.ru/games/app/XXXXXX?draft=true&game_url=https://localhost:6577
```

새 버전을 테스트하려면 **Build** 패널에서 매개변수를 변경하지 않고 프로젝트를 다시 빌드하고 빌드 완료 후 페이지를 새로 고치기만 하면 됩니다.

![](../../_images/cocos/test-3.png)


---


<!-- source: ko/_includes/button-git-cocos.md -->
<a href="https://github.com/yandex-games-plugins/cocos">
  <span class="button">저장소</span>
</a>
<!-- endsource: ko/_includes/button-git-cocos.md -->
