facebook / buck2

Build system, successor to Buck
https://buck2.build/
Apache License 2.0
3.53k stars 215 forks source link

Where is the test suite? #518

Open zjturner opened 9 months ago

zjturner commented 9 months ago

How do I run buck2's self test suite? I don't see it anywhere in the open source repo, and there's no documentation about running tests that I can find. If I make a change to prelude, or core buck2 runtime, or whatever else, I would like to be able to validate my changes before making a PR.

Is this possible? I would expect a top-level folder in the repo called tests or something. But maybe I'm just not finding it?

iguridi commented 9 months ago

Unfortunately is not open sourced yet. Internally we have two types of tests: isolated and relying on the rest of the repo. We would want to convert more tests to isolated, and open source these isolated tests.

zjturner commented 9 months ago

Is there a roadmap for this? That's pretty critical to being able to support outside contributions.

iguridi commented 9 months ago

Sadly no estimates on when this will be done. I will raise this with the team

ndmitchell commented 9 months ago

I've started moving bits and pieces of the test library so we can have it at least open source, even if it doesn't yet run (I have no idea how hard it is to make it work open source, but at least making the code available shouldn't be that hard). Probably going to take a little while, but hopefully see things trickling out soonish.