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
Clarify testing levels, supporting code and execution #3935
Comments
I run the xt tests on changed files pretty regularly. I don’t treat tests in xt differently- they are all tests that should be run regularly but shouldn’t break master/main either because they are slow, require extra installs or because the online editor makes it easy to fail them. Based on your comments above, I think only the one examples compilation fits into 4. |
El sáb, 21 ago 2021 a las 16:56, Will Coleda ***@***.***>)
escribió:
I run the xt tests on changed files pretty regularly. I don’t treat tests
in xt differently- they are all tests that should be run regularly but
shouldn’t break master/main either because they are slow, require extra
installs or because the online editor makes it easy to fail them. Based on
your comments above, I think only the one examples compilation fits into 4.
You do a great job. But still, it's manual job, it can be automated, and it
should be automated. We should find a way to run them faster (by acting
only on changed files, for instance), and even so try and run
systematically all tests when, for instance, a "release" happens (if we
decide to go that way). I'm warming up to the concept of release, which
would allow us to prioritize issues based on the Rakudo release they would
correspond to. To be clear, we have still not cleared all issues with
2019.03, so even if we don't do releases, prioritization would help.
|
I think that something like dividing the |
Why only run some of the tests when files change?
I’d rather run all the tests for file A when that file changes. FYI,
there’s already a script that does this in util/ if you have a clone you
can keep around. (If you’re concerned about cycles)
…On Sun, Aug 22, 2021 at 14:16 Juan Julián Merelo Guervós < ***@***.***> wrote:
I think that something like dividing the xt/ directory in two, docs/ and
helper, would clarify a bit the structure. We could run the "helper"
tests when the corresponding code changes, and author when we decide to do
so.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3935 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMIUMURFNU3XZB3DJF2S3T6E5G5ANCNFSM5CRTEHGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
El dom, 22 ago 2021 a las 20:46, Will Coleda ***@***.***>)
escribió:
Why only run some of the tests when files change?
I’d rather run all the tests for file A when that file changes. FYI,
there’s already a script that does this in util/ if you have a clone you
can keep around. (If you’re concerned about cycles)
Definitely concerned about cycles. Anyway, running a full suite of tests
from time to time is not a bad idea.
|
There are 3 kinds of tests these days: (Documentable tests are no longer part of the repo) CORETests that should be run every commit - CI has been disabled on travis, and @dontlaugh is working on getting us an equivalent. Assuming limited cycles, this will be the CI tests. AUTHORThe author tests are separated as they require either:
But are still run on content MODULE
Make targets'test' - CORE FrequencyIdeally, all content tests should be run for any changed files in the commit. All tests that can be run on a subset of files respect the TEST_FILES env var, so authors can run:
And get a very fast test run. see |
This will close #3935 but includes other cleanup as well.
Problem or new feature
There are currently 4 levels of testing
t
directory.documentable
is able to generate a whole documentation set. This is done in Circle-ci, via this config file. This uses a docker container withdocumentable
. We have a limited number of credits in Circle, and they are sometimes exhausted by the end of the month.xt
directory. Those are run occasionally, generally by @coke, and are mainly long-running tests like spell checks and stuff like that.Suggestions
Here's my wishlist
This might be related to #2690; we don't need to test everything in every push, but we definitely would need to test everything before every "release"... If we did one. So working through that issue would really help solving this one.
The text was updated successfully, but these errors were encountered: