Skip to content

[Task] Move mock-related C code to a test extension #25

@jduo

Description

@jduo

Description

  • Build a separate extension for test code
  • Move the call to register_mock_constructor_class(); from valkey_glide.c to the new test extension's initializer function
  • Add a test building configuration to the Makefile
  • Move compilation of client_constructor_mock.c and generation from client_constructor_mock.stub.php to the test build configuration
  • (Nice to have) Generate protobuf classes for PHP in the test building configuration in the Makefile.
  • Add the test extension to the php.ini
  • Update documentation for any changes in steps.

Checklist

...

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions