-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centralize conformance tests in this repository #10
Comments
We have this: https://github.com/bazelbuild/bazel/tree/master/src/test/skylark |
I used a different test runner for rust. I was not speaking about the test runner itself but the tests themselves. The format of tests in Bazel is the one I used in fine, just the error were different. To have a nice conformance test suite, the format should probably be standardized and have go use the same. Those tests should also live in this repository in my opinion so everyone could contribute to the same test suite. |
Hi, I’m going to work on ensuring starlark’s implementation are in sync as part of GSoC’19 under @laurentlb mentoring. An alternative I’ve thought of is to use docker or something similar to automatically fetch and build the latest version of the 3 implementations, installing all dependencies in the docker image and then running the test suite inside the docker. This wouldn't require having a local copy of any of the implementations' codes/binaries to run the test cases. |
I think we can use external repositories to test the 3 implementations. |
Concerning the java implementation, wouldn't this require the visibility of the "//src/main/java/com/google/devtools/starlark:Starlark" rule to be public as mentioned here, so that I can use it from another project? |
Yes, we can do that. |
Changing visibility to public will make it possible to include the implementation of starlark in Java as an external dependency to other bazel projects. Use case is creating a common test suite for starlark, more details here:bazelbuild/starlark#10 +@laurentlb
Changing visibility to public will make it possible to include the implementation of starlark in Java as an external dependency to other bazel projects. Use case is creating a common test suite for starlark, more details here: bazelbuild/starlark#10 Closes #8397. PiperOrigin-RevId: 249023168
Changing visibility to public will make it possible to include the implementation of starlark in Java as an external dependency to other bazel projects. Use case is creating a common test suite for starlark, more details here: bazelbuild/starlark#10 Closes bazelbuild#8397. PiperOrigin-RevId: 249023168
Hi,
The Go, the Rust and the Java implementation have their own integration tests that test different feature. When writing the integration tests for the rust language I basically took the Java and the Go one and made some variation: the error messages were not the same, the feature set not exactly the same (when importing the Go one) and the test framework is not exactly the same (assert_eq, fails, ....)
It would be great to standardize those test files and have them in this repo so change to the language would be translated here easily.
The text was updated successfully, but these errors were encountered: