How to get latest preview versions of test framework?

hi,

From this thread ( UTF 1.4 - #9 by sandolkakos ), it seems there’s at least a version as high as “2.0.1-pre.18”.

How do I add this to my project? That thread is outdated, it mentions to change “packages.json”, but such a file doesn’t even exist on my machine (There’s a packages folder with 2 json files but no packages.json). I am on 2022.3.16 which is almost the latest version of Unity, but when I enable “show pre release features” in package manager, I still don’t see anything.


Nothing in that thread mentions a “packages.json”
This is the simple way to install a specific version of a package:
https://docs.unity3d.com/6000.0/Documentation/Manual/upm-ui-quick.html
2.x is old, by the way. Last published package was back in 2022. You’re probably better off just using 1.4.4.

thanks, this helped a lot!

but how do I find the name of the latest version? it’s not listed anywhere.

just from someone else posting in that thread last year they mentioned 2.0.1-pre.18

but what is the actual latest version?

Documentation site for each package has a dropdown at the top left for available major.minor streams. Most newer doc pages show the latest version number for the major.minor pair. For example, 1.4 has 1.4.4 latest.
https://docs.unity3d.com/Packages/com.unity.test-framework@2.0/manual/index.html
The site also lists changelogs where you can see when versions were published.
https://docs.unity3d.com/Packages/com.unity.test-framework@2.0/changelog/CHANGELOG.html
https://docs.unity3d.com/Packages/com.unity.test-framework@1.4/changelog/CHANGELOG.html

thanks so much for your help.
I did inspect both of those pages, but neither of them list this “2.0.1-pre.18” anywhere. The latest they have is 2.0.1-exp.2, and changelog doesn’t mention any package versions that I can find.

In any case, maybe “2.0.1-pre.18” is good enough for me

2.0.1-pre.18 is older than 2.0.1-exp.2. The latter was published later and has more changelog entries.

2.0.1-exp.2: 2022-11-14
2.0.1-exp.1: 2022-04-22
2.0.1-pre.18: 2022-01-24
2.0.1-pre.12: 2022-01-19
1 Like