Skip to content

[Full API][Tests] Improve non regression test api #64

Merged
epernod merged 8 commits intomainfrom
full_release_48
Dec 2, 2023
Merged

[Full API][Tests] Improve non regression test api #64
epernod merged 8 commits intomainfrom
full_release_48

Conversation

@epernod
Copy link
Copy Markdown
Contributor

@epernod epernod commented Dec 2, 2023

Add script to export ref or test all scenes

Ref are:

  • a log file with position and bounding box of each SOFA mesh
  • a screenshot of the simulation after n steps

test run exactly the same scenes and export the same output but compare the log files.
Test full log is exported into a text file.

@epernod epernod added pr: new feature pr: status ready Approved a pull-request, ready to be squashed labels Dec 2, 2023
@epernod epernod added this to the SofaUnity_v23.06 milestone Dec 2, 2023
@epernod epernod merged commit ba83233 into main Dec 2, 2023
@epernod epernod deleted the full_release_48 branch December 3, 2023 00:00
epernod added a commit that referenced this pull request Jan 15, 2024
* [Tests] move back tests out from Editor/scripts

* [Tests] Fix ScenesTEstRunner and add WriteMode and compareMode

* [Tests] Add class to dump scene and mesh data in log files

* [Tests] Update method to write SceneData and MeshData. Add method to load and compare data

* [Tests] Update ScenesTestRunner to export all logs and load, compare them

* [Tests] Add scene test references logs and captures

* [Tests] Small updates

* [Tests] Update all refs
epernod added a commit that referenced this pull request Feb 12, 2024
* [Tests] move back tests out from Editor/scripts

* [Tests] Fix ScenesTEstRunner and add WriteMode and compareMode

* [Tests] Add class to dump scene and mesh data in log files

* [Tests] Update method to write SceneData and MeshData. Add method to load and compare data

* [Tests] Update ScenesTestRunner to export all logs and load, compare them

* [Tests] Add scene test references logs and captures

* [Tests] Small updates

* [Tests] Update all refs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new feature pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant