SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
3.0 KiB

4 years ago
  1. # About Unity Test Framework
  2. The Unity Test Framework (UTF) enables Unity users to test their code in both **Edit Mode** and **Play Mode**, and also on target platforms such as [Standalone](https://docs.unity3d.com/Manual/Standalone.html), Android, iOS, etc.
  3. This package provides a standard test framework for users of Unity and developers at Unity so that both benefit from the same features and can write tests the same way.
  4. UTF uses a Unity integration of NUnit library, which is an open-source unit testing library for .Net languages. For more information about NUnit, see the [official NUnit website](http://www.nunit.org/) and the [NUnit documentation on GitHub](https://github.com/nunit/docs/wiki/NUnit-Documentation).
  5. > **Note**: UTF is not a new concept or toolset; it is an adjusted and more descriptive naming for the toolset otherwise known as Unity Test Runner, which is now available as this package.
  6. # Installing Unity Test Framework
  7. To install this package, follow the instructions in the [Package Manager documentation](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest/index.html).
  8. > **Note**: Search for the Test Framework package. In Unity 2019.2 and higher, you may need to enable the package before use.
  9. # Using Unity Test Framework
  10. To learn how to use the Unity Test Framework package in your project, read the [manual](./manual.md).
  11. # Technical details
  12. ## Requirements
  13. This version of the Unity Test Framework is compatible with the following versions of the Unity Editor:
  14. * 2019.2 and later.
  15. ## Known limitations
  16. Unity Test Framework version 1.0.18 includes the following known limitations:
  17. * The `UnityTest` attribute does not support WebGL and WSA platforms.
  18. * The `UnityTest` attribute does not support [Parameterized tests](https://github.com/nunit/docs/wiki/Parameterized-Tests) (except for `ValueSource`).
  19. * The `UnityTest` attribute does not support the `NUnit` [Repeat](https://github.com/nunit/docs/wiki/Repeat-Attribute) attribute.
  20. * Nested test fixture cannot run from the Editor UI.
  21. * When using the `NUnit` [Retry](https://github.com/nunit/docs/wiki/Retry-Attribute) attribute in PlayMode tests, it throws `InvalidCastException`.
  22. ## Package contents
  23. The following table indicates the root folders in the package where you can find useful resources:
  24. | Location | Description |
  25. | :----------------------------------------- | :------------------------------------------ |
  26. | _/com.unity.test-framework/Documentation~_ | Contains the documentation for the package. |
  27. ## Document revision history
  28. | Date | Reason |
  29. | :----------- | :---------------------------------------------------- |
  30. | August 23, 2019 | Applied feedback to the documentation |
  31. | July 25, 2019 | Documentation updated to include features in version 1.1.0 |
  32. | July 11, 2019 | Documentation updated. Matches package version 1.0.18 |
  33. | May 27, 2019 | Documentation created. Matches package version 1.0.14 |