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
Documentation: explain how to run tests #231
Comments
This is very much project specific. In general, this is covered by the Run Configurations section of the docs. |
Thanks for the pointer - that page is very helpful. As a new user, it wasn't clear that instructions for testing were in the "Run Configurations" section. Maybe it could be called "Run Configurations & Testing"? Or maybe the Getting Started section (which currently only contains installation instructions and a link to "Importing a Project") could contain:
FYI, there's a couple of differences between the docs and my plugin:
I hope this is useful feedback. This is a very helpful plugin now I'm figuring out how to use it, so thanks for developing it! |
Are you a new intellij user? Since "Run Configurations" are an intellij
term which includes tests in it
…On Tue, Feb 6, 2018 at 10:56 AM Rodrigo Queiro ***@***.***> wrote:
Thanks for the pointer - that page is very helpful. As a new user, it
wasn't clear that instructions for testing were in the "Run Configurations"
section. Maybe it could be called "Run Configurations & Testing"? Or maybe
the Getting Started
<https://ij.bazel.build/docs/bazel-plugin.html#getting-started> section
(which currently only contains installation instructions and a link to
"Importing a Project") could contain:
1. Installation (as already there)
2. Select *Import Bazel project" from the Welcome screen and follow
the instructions (more details in Importing a Project).
3. Select Bazel > Build > Compile Project to build the project.
4. See Run Configurations for details on testing and debugging.
FYI, there's a couple of differences between the docs and my plugin:
- on Building your Project
<https://ij.bazel.build/docs/bazel-plugin.html#building-your-project>
is says "Bazel > Make Project" but I have "Bazel > Build > Compile Project"
- on Creating and running test configurations with right-click menu
<https://ij.bazel.build/docs/run-configurations.html#creating-and-running-test-configurations-with-right-click-menu>
it says "Create a Run Configuration, Run or Debug" but I have three items:
"Run/Debug/Create 'Bazel test '" (Create is replaced by Save when selecting
from the project view or source file rather than the BUILD file).
I hope this is useful feedback. This is a very helpful plugin now I'm
figuring out how to use it, so thanks for developing it!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#231 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIF3Ro6aUYbe4fcjtbgzsKf7Y5VUmnks5tSBO4gaJpZM4R5yGk>
.
|
Yes. |
I see
…On Tue, Feb 6, 2018 at 12:01 PM Rodrigo Queiro ***@***.***> wrote:
Are you a new intellij user?
Yes.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#231 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIF9PYbEeeqoTg-fC3HZDMfpTVc8Syks5tSCL_gaJpZM4R5yGk>
.
|
Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so. |
It's easy to build the entire project by selecting Bazel > Build > Compile Project. However, it was unclear how to run all the tests.
It would be good to document this below "Building your project" here: https://ij.bazel.build/docs/bazel-plugin.html#building-your-project
My method was:
a. Target expression: //...
b. Bazel command: test
But I don't know if this is the easiest way.
The text was updated successfully, but these errors were encountered: