buck2 icon indicating copy to clipboard operation
buck2 copied to clipboard

Where is the test suite?

Open zjturner opened this issue 1 year ago • 4 comments

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?

zjturner avatar Dec 06 '23 19:12 zjturner

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.

iguridi avatar Dec 13 '23 18:12 iguridi

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

zjturner avatar Dec 13 '23 18:12 zjturner

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

iguridi avatar Dec 13 '23 18:12 iguridi

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.

ndmitchell avatar Dec 17 '23 20:12 ndmitchell