com.unity.test-framework 1.4.0

com.unity.test-framework

Source docs
Notes: processedReleased November 13, 2023

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2019.4 (0a10)

Package Dependencies

🔄 Changes

  • Added api for saving test results to a file.
  • Added a button for saving the test results of the latest run.
  • Applied filtering to the ITestAdaptor argument of `ICallbacks.RunStarted` so that it corresponds to the actual test tree being run.
  • When running in player:
  • - the save scene dialog is shown when there are changes in the scene.
  • - the scene setup is restored after a completed run.
  • When running in playmode:
  • - the scene setup is restored after a completed run.
  • Added overloads of LogAssert.Expect which allow users to expect a log message without specifying a severity, which will match logged messages of any severity.
  • Added new `[ParametrizedIgnore]` attribute which allows ignoring tests based on arguments which were passed to the test method.
  • Added a new PreservedValuesAttribute to allow for using the nunit ValuesAttribute at players with a high stripping level (case DSTR-33).
  • Added api for canceling test runs.