Skip to content

Rust_unit Test Cases #67

@DeviPriya-Kolla

Description

@DeviPriya-Kolla

Description:
Develop unit tests for the Rust-based TBE processing library to verify the functionality, reliability, and correctness of each core function.

Developer Notes:
Utilize the built-in Rust testing framework by creating tests in a module annotated with #[cfg(test)]. Use the #[test] attribute for individual test cases.

Acceptance Criteria:

  • 80% test coverage for each core function
    • Reading TBE files
    • Outputting TBE files
    • Stripping and isolating headers
    • Outputting CSV files
    • Reading a directory of files
  • include edge case testing
    • missing/incomplete metadata fields
    • incomplete/malformed TBL sections
    • malformed/missing ATT attributes
    • invalid datatypes or unexpected input formats
  • At least 7 unit tests
  • Each test should give clear reporting
  • implement automated testing setup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions