Improve the new DefaultProcessorTest

Created on 26 August 2023, over 1 year ago
Updated 7 September 2023, over 1 year ago

While I was working on the fix for πŸ› Avoid breaking whole save process at default processor when there are faulty item(s) Fixed I didn't entirely like the test that I wrote because it had an obvious flaw: I was only validating that the number of Item entities matched the number that we expect. But that's no guarantee that the Items that were created are the same items that we expect. So I want to correct that flaw. Please feel free to suggest other possible improvements.

My intent here is to improve the results of the test, not add more assertions for the plugin functionality. But I suppose we could do both.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024