Skip to content

[FEATURE REQUEST] Add Test Coverage for ProcessDetails Entity Class #6588

@yashsaha555

Description

@yashsaha555

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions