Java icon indicating copy to clipboard operation
Java copied to clipboard

[FEATURE REQUEST] Add Test Coverage for ProcessDetails Entity Class

Open yashsaha555 opened this issue 1 year ago • 2 comments

What would you like to Propose?

Add comprehensive unit tests for the ProcessDetails entity class in com.thealgorithms.devutils.entities package. This critical class is used by 5+ scheduling algorithms but currently has zero test coverage.

Issue details

File to create: ProcessDetailsTest.java

Test coverage needed:

  • Both constructors (with/without priority)
  • All getter methods (6 methods)
  • All setter methods (5 methods)
  • Edge cases: null values, negatives, zeros, max values
  • Real-world scheduling scenarios

Why important?

  • ProcessDetails is imported by multiple scheduling algorithm tests
  • No existing test coverage despite widespread usage
  • Critical infrastructure that needs reliability testing

Additional Information

No response

yashsaha555 avatar Oct 02 '25 12:10 yashsaha555

Please assign this issue to me (@yashsaha555 ). I would like to work on this issue.

yashsaha555 avatar Oct 02 '25 12:10 yashsaha555

Hello, Can i get this issue?

DevNoahF avatar Oct 02 '25 16:10 DevNoahF