If you are new to Bazel and it was not clear how to run the test cases, it is `bazel test //functions:functions_test`. More details here https://bazel.build/start/cpp#introduction
I have deliberately listed the bulk test commands, since I thought that they will be more approachable at this point. What I'm asking is whether you find running a specific test useful (i.e. is it something I should talk about?).
No, I just wanted to run the tests and did not know how to.You wrote "bazel test //...", which I understood as either "bazel test //helloworld", or "bazel test //functions". But both were wrong, so I had to read the Bazel docs to understand how to run the tests.
While we're at it. Great setup you created! It was very easy to get up and running. I saw you published the 2nd lesson. Looking forward to working on it!
If you are new to Bazel and it was not clear how to run the test cases, it is `bazel test //functions:functions_test`. More details here https://bazel.build/start/cpp#introduction
Thanks for pointing that out.
Just for feedback purposes, did you find it useful to run the specific test case?
em, that command runs both test cases.
I should have written "specific test target".
I have deliberately listed the bulk test commands, since I thought that they will be more approachable at this point. What I'm asking is whether you find running a specific test useful (i.e. is it something I should talk about?).
No, I just wanted to run the tests and did not know how to.You wrote "bazel test //...", which I understood as either "bazel test //helloworld", or "bazel test //functions". But both were wrong, so I had to read the Bazel docs to understand how to run the tests.
Ah. Now I get the confusion.
No, that's the actual command :-)
While we're at it. Great setup you created! It was very easy to get up and running. I saw you published the 2nd lesson. Looking forward to working on it!
Yes, silly me :)
Curious why did you pick Bazel build here?
Mainly because Bazel is simple enough that it doesn't require much explanation.