Skip to content

Add ecommerce carton fixture tests#655

Open
Packrift wants to merge 1 commit into
dvdoug:masterfrom
Packrift:packrift-ecommerce-fixture
Open

Add ecommerce carton fixture tests#655
Packrift wants to merge 1 commit into
dvdoug:masterfrom
Packrift:packrift-ecommerce-fixture

Conversation

@Packrift
Copy link
Copy Markdown

Summary

Adds a small PHPUnit fixture using five static ecommerce carton sizes from Packrift's public packaging optimization corpus. The test covers three ordinary ecommerce order shapes and one oversized item that should not fit the sample carton set.

This is intended as a real-world input-data fixture for BoxPacker's existing ecommerce use case. It does not claim the Packrift corpus contains known optimal packing solutions; it just gives the test suite a source-backed set of carton dimensions and product URLs to exercise the packer against.

Notes

Testing

  • Not run locally: this machine does not currently have php or composer on PATH.
  • git diff --check passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant