question: can I filter which tests run?
- Ngôn ngữ chính
- JavaScript
- Star
- 1.9k
- Fork
- 359
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
My build scripts are currently using nodeunit.reporters["default"].run() to run tests against a list of files.
Is it possible to only run some tests within a file? Ultimately I'd like to be able to only run tests that failed in the past run. I see I can track which tests failed, so I'd like to pass that list so only those tests run on the next attempt.
The reason is my tests are slow :) I have a lot of integration tests, and with my workflow I usually just want to run those few tests first.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by reading the nodeunit.reporters["default"].run() entry point described in the issue and trace how it receives the list of test files. Determine whether selecting tests within a file and rerunning a supplied list of previously failed tests can be specified without breaking existing runs. Done means the requested filtering behavior is defined and verified for slow integration-test workflows.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, node.js
- Lĩnh vực
- testing
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100