Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMCL-1457: Remove test framework from cinemachine package #901

Closed
wants to merge 12 commits into from

Conversation

AntoineCharton
Copy link
Contributor

@AntoineCharton AntoineCharton commented Sep 19, 2023

[Delete any line or section that does not apply]

Purpose of this PR

Remove dependancy to test framework

Testing status

  • Added an automated test
  • Passed all automated tests
  • Manually tested

Technical risk

Medium testing changes. Normally no changes in the package though need some manual testing just to be sure.

Comments to reviewers

Check everything is tested correctly. The number of file changed look scary but most of it is just the test folder being moved to an other package.

Package version

  • Updated package version

Move cinemachine tests into their own package
Update tests projects to use cinemachine.tests
@AntoineCharton AntoineCharton changed the title CMCL:0000 - Remove test framework from cinemachine package CMCL-0000: Remove test framework from cinemachine package Sep 19, 2023
@AntoineCharton AntoineCharton marked this pull request as ready for review September 19, 2023 18:11
Copy link
Collaborator

@glabute glabute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will try it locally... stay tuned

Projects/HDRP/Packages/manifest.json Outdated Show resolved Hide resolved
Projects/HDRPInputSystem/Packages/manifest.json Outdated Show resolved Hide resolved
Projects/Standalone/Packages/manifest.json Show resolved Hide resolved
Projects/URP/Packages/manifest.json Outdated Show resolved Hide resolved
Projects/URPInputSystem/Packages/manifest.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@glabute glabute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, I love it

"version": "1.0.0",
"displayName": "Cinemachine Tests",
"dependencies": {
"com.unity.test-framework": "1.1.33"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we also depend on cinemachine itself?

Copy link
Contributor Author

@AntoineCharton AntoineCharton Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the doc that is not needed but will check.

{
  "name": "com.unity.my-package",
  "displayName": "My Package Tests",
  "version": "1.2.3",
  "type": "tests",
  "dependencies": {
    "com.unity.my-test-dependency": "1.0.0",
  }
}

@glabute glabute changed the title CMCL-0000: Remove test framework from cinemachine package CMCL-1457: Remove test framework from cinemachine package Oct 25, 2023
@AntoineCharton
Copy link
Contributor Author

Will probably need @windxu88 input to solve this issue would be great to solve for 3.1.X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants