# 自動テスト

> Use the Unity Test Framework to write and run automated tests for your Unity C# code.

テストは、最新のソフトウェア開発手法の重要な部分です。コードのテストを作成することで、プロジェクトの規模や複雑さが拡大しても想定どおりに機能するという確信を持つことができます。Unity には、C# コードのテストの作成と実行に役立つ [Unity Test Framework](https://docs.unity3d.com/Packages/com.unity.test-framework@latest) パッケージが用意されています。

このパッケージは、C# Test Framework NUnit を統合および拡張してカスタム Unity 機能を追加した、**Edit** モードと **Play** モードの両方で、またスタンドアロン、Android、iOS などのターゲットプラットフォームでもコードをテストできるツールです。Test Runner ウィンドウはエディターに組み込まれており、Visual Studio などの IDE のテストランナーと同様に機能します。

Test Framework パッケージの他のバージョンについて詳しくは、[com.unity.test-framework](https://docs.unity3d.com/Packages/com.unity.test-framework@latest) ページを参照してください。

## 追加リソース##additional-resources

* [Unity Test Framework](https://docs.unity3d.com/Packages/com.unity.test-framework@latest)。
* [Unity Test Framework のパフォーマンステストパッケージ](https://docs.unity3d.com/Packages/com.unity.test-framework.performance@latest/)。
