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

# Test

<!-- source: tr/_includes/script-common.md -->
<!-- source: tr/_includes/script/index-js.md -->

<!-- endsource: tr/_includes/script/index-js.md -->

<!-- source: tr/_includes/script/requirements-js.md -->

<!-- endsource: tr/_includes/script/requirements-js.md -->

<!-- source: tr/_includes/script/image-modal-js.md -->

<!-- endsource: tr/_includes/script/image-modal-js.md -->
<!-- endsource: tr/_includes/script-common.md -->

Oyunlar, SDK ile ilgili işlevsellikleri geliştirmeyi ve test etmeyi kolaylaştıran yerel bir sunucudan platformda çalıştırılabilir.

Dikkat edin, Yandex Oyun Konsolu yardımıyla [oyununuzun ön taslağını eklemeniz](https://yandex.com.tr/dev/games/doc/tr/console/add-new-game.md) gerekecek.

## Derleme Ayarları {#build-configuration}

Öncelikle proje derlemesini **Project** → **Build** panelinde yapılandırmanız gerekir.

![Cocos Creator ekran görüntüsü. Sol üst köşede "File", "Edit", "Node", "Project", "Panel", "Extension", "Developer", "Help", "Yandex.Games SDK" ve diğerleri gibi birkaç bölümden oluşan bir menü bulunur. "Project" bölümü seçili, açılır menüde işaretçi "Build" seçeneğinin üzerinde.](../../_images/cocos/testing/build.webp)

Açılan pencerede yeni bir derleme yapılandırması oluşturmak için **New Build Task** düğmesine tıklayın.

Parametreleri yapılandırın. Genellikle hata ayıklamayı kolaylaştırmak için **Source Maps** ve **Debug** öğelerinin etkinleştirilmesi önerilir.

![Cocos Creator ekran görüntüsü, "Build" penceresi, "Edit Build Config" açılır penceresi.](../../_images/cocos/testing/edit-build-config.webp)

Yapılandırmayı tamamladıktan sonra projeyi derlemek için **Build** düğmesine tıklayın.

Ardından projenin bulunduğu klasöre gidin. Buna benzer bir yapıya sahip bir klasör göreceksiniz:

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

## Yerel Sunucu Ayarları {#local-server-setting}

Daha fazla bilgi için [Yerel sunucudan başlat](https://yandex.com.tr/dev/games/doc/tr/concepts/local-launch.md) bölümüne bakın.

### Test Etme {#testing}

Yerel sunucu çalıştığında, oyunu bu bağlantı üzerinden test edebilirsiniz; burada XXXXXX, taslağınızın kodudur:

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

Yeni bir sürümü test etmek için, **Build** panelinde hiçbir parametreyi değiştirmeden projeyi yeniden derleyin ve derleme tamamlandıktan sonra sayfayı yenileyin.

!["debug" açılır penceresinin ekran görüntüsü, yeşil metin "5-8-2023 23:01:44 Build success in 19220 ms!" Sağ alt köşede "Build" ve "Run" düğmeleri bulunur, işaretçi "Build" düğmesinin üzerindedir.](../../_images/cocos/testing/rebuild.webp)

---


<!-- source: tr/_includes/sdk/button-git.md -->
<a href="https://github.com/yandex-games-plugins/cocos">
  <span class="button">Depo</span>
</a>
<!-- endsource: tr/_includes/sdk/button-git.md -->
