Skip to content

TestCase "ValidateCustomIndexation(t:shader sh_rendertype=opaque [Assets/Materials/SurfaceShader.shader] => 1 )" failed. #52

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

Open
hanachiru opened this issue Jan 6, 2025 · 0 comments

Comments

@hanachiru
Copy link

The EditorMode Test of projects that depend on this package is Failed.

Image

var shaderInPackage = "Assets/Materials/SurfaceShader.shader";
yield return new CustomIndexationTestCase("t:shader sh_rendertype=opaque", shaderInPackage, true);

#46 (comment)

testables in manifest.json do not work if UNITY_INCLUDE_TESTS is not defined in defineConstraints in com.unity.search.extensions.editor.asmdef. I defined it on a trial basis and it worked correctly.

{
  "dependencies": {
    "com.unity.search.extensions": "https://github.com/Unity-Technologies/com.unity.search.extensions.git?path=package",
    ...
  },
  "testables": [

  ]
}

In my opinion, it is better to separate asmdef for editor and asmdef for test.

ref : #46 (comment)

@hanachiru hanachiru mentioned this issue Jan 6, 2025
@hanachiru hanachiru changed the title ‘ValidateCustomIndexation(t:shader sh_rendertype=opaque [Assets/Materials/SurfaceShader.shader] => 1 )’ TestCase failed. TestCase "ValidateCustomIndexation(t:shader sh_rendertype=opaque [Assets/Materials/SurfaceShader.shader] => 1 )" is failed. Jan 6, 2025
@hanachiru hanachiru changed the title TestCase "ValidateCustomIndexation(t:shader sh_rendertype=opaque [Assets/Materials/SurfaceShader.shader] => 1 )" is failed. TestCase "ValidateCustomIndexation(t:shader sh_rendertype=opaque [Assets/Materials/SurfaceShader.shader] => 1 )" failed. Jan 7, 2025
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

No branches or pull requests

1 participant