Skip to content

Releases: needle-mirror/com.unity.test-framework

1.4.6

05 Feb 12:12
Compare
Choose a tag to compare

[1.4.6] - 2025-02-03

  • Fixed an issue where the architecture flag would not be parsed for the StandaloneOSX platform.
  • Fixed an issue where the test results ui and progress bar would not update before a user input, such as mouse movement, was detected (UTF-609).
  • Fixed an issue where root of the test tree was marked as NotRun, when all the tests were run and at least one test is ignore.
  • Ensure that an error is raised and the test run is stopped if a playmode test method exits playmode (DSTR-1091).
  • Async editmode tests are no longer throw error when yielding a different value than null (DSTR-1066)
  • Fixed an issue where the "C# Test Script" button was always disabled in One Column view in Project tab. (DSTR-1083)
  • Async and UnityTest can now use ParametrizedIgnore attribute. (DSTR-1068)
  • Corrected Timeout to only apply to the test method and not the teardown methods, ensuring that TearDown is always run if a test case times out (DSTR-1077).
  • Added a queue size indicator in the player side test result ui. This can be used to track the progress of sending back result data to the editor.
  • Parent node of the test tree is now updated after all children finish running and have a result.

1.4.5

25 Jul 12:10
Compare
Choose a tag to compare

[1.4.5] - 2024-07-02

  • Fixed an issue where batchmode test runs would never finish if a test yielded WaitForEndOfFrame (DSTR-1009).
  • Fixed an issue where the location prompt was required when using the Install all tests in 'build' folder option during test builds.
  • Canceling a PlayMode test run now correctly restores the scene setup, instead of leaving the editor in the test scene.
  • Fixed an issue where UnitySetUp did not fail when nested coroutines threw an exception (DSTR-1007).
  • When selecting multiple tests and running them, the test runner now correctly updates the details of the first selected test (UTF-602).
  • The interaction mode and application idle time settings is now being changes when running tests, resulting in faster test runs if not already in use (applies to 2020.3 and later) (DSTR-690).
  • Fixed an issue where some NUnit attributes caused errors and stopped async test runs (DSTR-1040).
  • Added support for the MaxTime attribute on async and UnityTest methods (DSTR-1040).
  • Fixed a memory leak issue where a large number of domain reloads within the same test could crash the editor (DSTR-1023).
  • Changed to use a progress bar inside the test runner window when running tests. This ensures that the progress bar is not fighting to display when e.g. compiling scripts and also makes it easier to cancel a run. This progress bar is displayed for all types of runs (EditMode, PlayMode and Player). (UTF-596).
  • Fixed an issue where ignored tests with an attributes did not display the ignore reason in the test runner UI.
  • Having multiple tests with the same unique id no longer gives a error with 'An item with the same key has already been added', but instead logs an warning about the duplicate id.
  • The result icons for test suites should no longer flicker when running tests.
  • Ensured that test results ignored in the editor but run on a player are not overwritten with ignore status when shown in the UI (DSTR-1042).
  • Fixed an issue where the RunStarted event was not invoked correctly during a test run (DSTR-1046).
  • Fixed an issue where TestStarted and TestFinished events were repeated for ignored test fixtures after a domain reload (DSTR-986).

1.4.4

12 Apr 09:12
Compare
Choose a tag to compare

[1.4.4] - 2024-04-11

  • Fix the issue where playmode controller wasn't being set and cleaned up correctly, causing issues post test run. (DSTR-1025)
  • Fixed an issue where Oculus Quest headsets might timeout before the test run starts (DSTR-404).
  • Fixed a regression where the console output would no longer get attached to the test result for PlayMode.

1.4.3

17 Jan 13:16
Compare
Choose a tag to compare

[1.4.3] - 2024-01-15

  • Fixed a performance issue in relation to the new ui, where running a large selection of tests did not perform well. (DSTR-983)
  • The test tree no longer is fully expanded when the window is first opened, fixing test tree explosion. (DSTR-985)
  • Fixed an issue in Solution 13 of Samples where the path was pointing to a wrong location. (DSTR-1005)
  • Updated documentation of Solution 13 of Samples to reflect more accurate solution for the example. (DSTR-1005)
  • Added ability to build all or selected tests from test runner UI. (UTF-553)

1.4.2

12 Dec 14:12
Compare
Choose a tag to compare

[1.4.2] - 2023-12-05

  • Issue where playmode tests were not recording test results correctly after the first run was fixed. (DSTR-984)
  • A timeout message is now printed when the test failures occurs before the test finishes. (DSTR-476)
  • Nested enumerators are now having their first step executed in the same frame as the parent enumerator. (DSTR-888)
  • Fixed an issue where test projects without PlayMode tests would give the error "No callbacks received." when running in batchmode on some Unity versions.

1.4.1

29 Nov 16:17
Compare
Choose a tag to compare

[1.4.1] - 2023-11-27

  • Multiple improvements to the UI, including better dropdowns, filtering, and a new test list view for Player.
  • Fixed uncategorized UI tests filtering for parameterized tests (DSTR-219).
  • In async tests, any failing logs will now first be evaluated after the async method has completed. (DSTR-839)

1.4.0

13 Nov 11:14
Compare
Choose a tag to compare

[1.4.0] - 2023-11-10

  • 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.

1.3.9

22 Aug 16:12
Compare
Choose a tag to compare

[1.3.9] - 2023-08-21

  • Removed player metada fields that were using obsolete APIs (DSTR-880).
  • Added note to documentation on mitigation of problem reported in (DSTR-600).
  • Fixed an issue where the test runner ui causes progress bars to flicker or not show at all (DSTR-828).

1.3.8

10 Jul 14:14
Compare
Choose a tag to compare

[1.3.8] - 2023-07-05

  • Send new UTP messages regarding player and system settings (DSTR-831)

1.3.7

12 Jun 15:14
Compare
Choose a tag to compare

[1.3.7] - 2023-06-07

  • The UTF version now automatically updates for SRP tests

[1.3.6] - 2023-06-01

  • By using the editor command line new argument -randomOrderSeed x you can run the tests in a randomized order, where x is an integer different from 0. If a new test is added in the project the random order passing the same seed will be kept, and the new test will be placed in the random list accordigly.
  • Fix for WebGL platform target to close the browser tab when the run is completed.
  • Added TestFileReferences.json to be generated on build step of the player, so can be consumed later by Test runners to enrich data for run part.