---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.2
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: tr/sdk/cocos/testing.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/games/doc/tr/llms.txt

# 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}

İlk olarak, proje derlemesini **Project** → **Build** panelinde ayarlamanız gerekir.

![](../../_images/cocos/testing/build.webp)

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

Ayarları yapılandırın. Hata ayıklamayı kolaylaştırmak için genellikle **Kaynak Haritaları** ve **Debug** öğelerini etkinleştirmeniz önerilir.

![](../../_images/cocos/testing/edit-build-config.webp)

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

Daha sonra projenizin bulunduğu klasöre gidin. Şuna benzer bir yapıdaki 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 başlatıldığında, taslağınızın kodu olan XXXXXX ile bu bağlantıyı kullanarak oyununuzu test edebilirsiniz:

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

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

![](../../_images/cocos/testing/rebuild.webp)


---


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