We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First, collect the names of failed tests from the return value of rove:run.
(defun collect-failed-tests (failed-tests) (let ((test-names '())) (labels ((recursive (failed-tests) (dolist (test failed-tests) (when (and (typep test 'rove:test)) (when (symbolp (rove:test-name test)) (push (rove:test-name test) test-names)) (recursive (rove:failed-tests test)))))) (recursive failed-tests)) test-names)) ;; example (collect-failed-tests (nth-value 1 (rove:run :foo/tests))) ; => '(test-1 test-2)
This result is a list of test names.
I want to run this test again. However, there is no function in rove to achieve this.
Candidate solutions that come to mind are.
It might be a trade-off, but isn't there a better solution?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First, collect the names of failed tests from the return value of rove:run.
This result is a list of test names.
I want to run this test again.
However, there is no function in rove to achieve this.
Candidate solutions that come to mind are.
However, there is concern that this may compromise encapsulation.
There is a concern that the return value is not uniquely determined.
There is a concern that the assumption that only the system name is used may be broken.
It might be a trade-off, but isn't there a better solution?
The text was updated successfully, but these errors were encountered: