-
-
Notifications
You must be signed in to change notification settings - Fork 286
Specs2 toolchain #1136
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
Specs2 toolchain #1136
Conversation
test_version/WORKSPACE.template
Outdated
@@ -47,6 +47,8 @@ specs2_junit_repositories() | |||
|
|||
register_toolchains("@io_bazel_rules_scala//testing:testing_toolchain") | |||
|
|||
register_toolchains("@io_bazel_rules_scala//testing:testing_toolchain") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicates line above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching!
deps_id = "specs2_classpath", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"@io_bazel_rules_scala_org_specs2_specs2_common", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why all other deps are in form //external:io_bazel_rules_scala/dependency/...
and these are not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It comes from the existing code: https://github.com/bazelbuild/rules_scala/blob/master/specs2/BUILD#L9
It's binded later in https://github.com/bazelbuild/rules_scala/blob/master/specs2/specs2.bzl#L26
Existing binds are subject to be removed later. Currently the goal is to give a way to not use binds.
docs/testing.md
Outdated
``` | ||
|
||
### Example to set up JUnit dependencies | ||
### Configuring JUnit dependencies vai toolchain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for catching - fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will merge once green. thanks!
* Update testing docs, toolchain and repository loading * Add testing toolchain to version tests WORKSPACE * specs2 and specs2 junit toolchain deps * Use external name in toolchain helpers * Update and add specs2 docs and examples * Docs update * Remove duplicate toolchain registration * Move example workspace tests to a separete Travis CI job * Fix typo in docs
Specs2 toolchain, part of #940