Tien Vo
03/27/2023, 1:46 AMPACT_PLUGIN_DIR , or introduce new var PACT_PLUGIN_DIRSuglyog
Tien Vo
03/27/2023, 2:39 AMpact-php project only contains "core" features (http + v3 async message), it doesn't include any code that support plugins
2. Instead of supporting all plugins in pact-php project like I did before, I split into multiple projects: pact-php-csv , pact-php-protobuf . The reasons are:
a. Not everybody want and use plugins to test their project
b. Download binaries need time, and disk storage.
c. Support all plugins in pact-php only make the code base bigger and bigger overtime
3. Each projects has it own PACT_PLUGIN_DIR . For example: /path/to/pact-php-csv/bin/pact-plugins/csv and /another/path/to/pact-php-protobuf/bin/pact-plugins/protobuf
4. While writing consumer test, setting PACT_PLUGIN_DIR before each test is enough for running the test.
5. But when verifying provider, currently only set 1 value for PACT_PLUGIN_DIR , so only verify pacts for 1 plugin.Tien Vo
03/27/2023, 7:08 AM--filter-plugin=NAME and --filter-no-plugin to pact verifierTien Vo
03/27/2023, 9:16 AMTien Vo
03/31/2023, 2:12 PMPACT_PLUGIN_DIR