orchestral/testbench

What is workbench?

Closed this issue · 4 comments

Hi, thank you for your work on this package.
I just updated testbench in a package I am developing and noticed you now have a "workbench" thing. It is not clear to me what it's purpose is and how to use it. The docs only have the "introduction" part.
Could you please provide some explanation with an example?

Edit:
I did try to run the workbench:install command and it created some script entries in composer.json and a workbench dir in project root with what looks like an app skeleton. Still no clue what should I do with it 😄

Okay, saw it.
If I understood it correctly, you can use the workbench dir to set up an app to test your package as it would be used in an app, instead of just running the tests with a skeleton?
Currently, I have a sample app where I added the package from a local dir (which composer installs as a symlink) to allow me to test it while I develop. Workbench would now replace this if I am not mistaken.

yeah, that's correct

Great, thank you for the quick support :)
All the best in the future