Repository navigation
Support for running without Cargo (using bazel or buck2 as the build system) #1790
Replies: 6 comments 12 replies
|
Thanks for the question! Nextest does support running without cargo, with the build archive and reuse functionality. See https://nexte.st/book/reusing-builds.html#non-requirements. You do need Cargo to actually do the build though. At this time we have no interest in supporting alternative build systems like Bazel. |
|
I had no idea about the archive/reuse functionality. Thanks for pointing it out. Unfortunately, I am more interested in the second part of your response. Is the metadata provided by Cargo a hard requirement, or is it technically possible for Nextest to interface directly with a |
|
Sorry about the late response -- I had a long comment typed up but lost it because my browser crashed. I'm honestly not sure! It really depends on the specifics: how invasive it is (moderately concerned about this) and how much work it would be to maintain and test against (very concerned). How about if you try forking nextest under its Free Software licenses and making your changes there? We can figure out whether an integration works once you have some changes done. Worst case you can maintain your fork. |
|
Hi there, I worked on a prototype for flowchart
buck["buck2-nextest"]
cargo["cargo-nextest"]
session["nextest-session"]
runner["nextest-runner"]
buck --> session
cargo --> session
session --> runner
The idea is that all shared logic and contracts between clients happens in InfeasibleSo while this works for
ContextNo current open test orchestration system like Potential Paths ForwardIt would probably be working with |
Currently, these are the differences between a standard buck2 configured rust project and one with the nextest integration. Just about any tooling integration at this level will require some configuration so I wouldn't call this non-standard or a hack but more like the mechanism buck2 allows for customization. |
Uh oh!
There was an error while loading. Please reload this page.
Is there support for running Nextest without Cargo? That is, using only the binary that
rustc --testoutputs.I have skimmed through the codebase, but I'm afraid I don't have the skills to be sure about it.
All reactions