Skip to content

Refactor tests to use new AL test features #11

@finnpedersenkazes

Description

@finnpedersenkazes

Context

Business Central 27 introduces new test features and mocking capabilities that can improve our test suite for the standard library.

Proposed changes

  • Update test codeunits to use new test-codeunit properties available in BC 27 (e.g., subtype improvements).
  • Use new mocking APIs to simulate outbound HttpClient calls during tests where applicable.
  • Adopt updated assertion patterns and naming conventions to improve clarity and maintainability.
  • Ensure tests cover new runtime 16 features implemented in the library.
  • Review and update any tests that rely on deprecated features or warnings elevated to errors in BC 27.

These updates will make the test suite more robust and compatible with the latest Business Central environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions