| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think we on purpose excluded this to avoid this being similar to grep. The test IDs have to match exactly. Would it be possible to instead find all test IDs for a describe block using the script like the one @pfa...@chromium.org created?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think we on purpose excluded this to avoid this being similar to grep. The test IDs have to match exactly. Would it be possible to instead find all test IDs for a describe block using the script like the one @pfa...@chromium.org created?
That would require considerably more work on the Cider extension side. The design at many layers assumes exactly one test filter. Also it doesn't always detect nested blocks, and there can be things like parameterized tests that we can't parse, so it isn't going to be as reliable.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Eric LeeseI think we on purpose excluded this to avoid this being similar to grep. The test IDs have to match exactly. Would it be possible to instead find all test IDs for a describe block using the script like the one @pfa...@chromium.org created?
That would require considerably more work on the Cider extension side. The design at many layers assumes exactly one test filter. Also it doesn't always detect nested blocks, and there can be things like parameterized tests that we can't parse, so it isn't going to be as reliable.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Eric LeeseI think we on purpose excluded this to avoid this being similar to grep. The test IDs have to match exactly. Would it be possible to instead find all test IDs for a describe block using the script like the one @pfa...@chromium.org created?
Alex RudenkoThat would require considerably more work on the Cider extension side. The design at many layers assumes exactly one test filter. Also it doesn't always detect nested blocks, and there can be things like parameterized tests that we can't parse, so it isn't going to be as reliable.
cc @pfa...@chromium.org wdyt?
I think since we ensure : is a delimiter it should be fine. I wonder if we should optimize the check in any way but I suspect we do not pass that many test IDs.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
const testIds = TestConfig.tests.filter(testId => TEST_ID_REGEX.test(testId));Can we keep the set?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
const testIds = TestConfig.tests.filter(testId => TEST_ID_REGEX.test(testId));Can we keep the set?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: test/shared/run-mocha.ts
Insertions: 4, Deletions: 2.
The diff is too large to show. Please review the diff.
```
```
The name of the file: test/unit/mocha-adapter-browser.ts
Insertions: 2, Deletions: 2.
The diff is too large to show. Please review the diff.
```
Support running a describe block in DevTools tests
In addition to being able to specify a test file or an individual test
case, you can now specify the id of a describe block to run all tests
within it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |