Page MenuHome

Automated testing: Add operators tests
ClosedPublic

Authored by Pratik Borhade (PratikPB2123) on Jun 13 2022, 8:23 PM.

Details

Summary

Part of T84999: Add Operator tests
This patch adds test for

  • dissolve_limited
  • dissolve_mode
  • merge_normals

Updated blend file:

Diff Detail

Repository
rB Blender

Event Timeline

Pratik Borhade (PratikPB2123) requested review of this revision.Jun 13 2022, 8:23 PM
Pratik Borhade (PratikPB2123) created this revision.

Hi. let me know if I've done this correctly. Will add more test further.

  • adds test for Limited dissolve operator
Pratik Borhade (PratikPB2123) retitled this revision from Automated testing: Add Merge normal test to Automated testing: Add operators tests.Jun 14 2022, 2:15 PM
Pratik Borhade (PratikPB2123) edited the summary of this revision. (Show Details)
Pratik Borhade (PratikPB2123) edited the summary of this revision. (Show Details)

I ran several tests and looked at the blend file. It all looks good to me, thank you for the patch!

P.s. remember to submit the blend file first so that tests don't fail on buildbot

This revision is now accepted and ready to land.Jun 16 2022, 12:32 PM

@Habib Gahbiche (zazizizou) hi and thanks for reviewing the patch

I ran several tests

May I know what types of different tests you used to test this patch? So that I can run them too.

P.s. remember to submit the blend file first so that tests don't fail on buildbot

I don't have commit rights so could you do that for me? :)

May I know what types of different tests you used to test this patch? So that I can run them too.

  • made sure tests can fail by changing parameters in code, and geometry in blend file
  • made sure other tests were not accidentally updated / messed up by running current tests with new blend file.
  • looked at naming, style and parameter choice

Adding Bastien as blocking reviewer since final approval should come from module owner. I can commit the patch once approved by Bastien.

This revision now requires review to proceed.Jun 19 2022, 1:54 PM

LGTM, will add the updated testfile to SVN, thanks!

This revision is now accepted and ready to land.Jul 6 2022, 4:05 PM

I can commit the patch once approved by Bastien.

Hello @Habib Gahbiche (zazizizou) , could you push this patch please?

Thanks Bastien for reviewing :)