This topic to discuss upgrade ruby test runner to spec version 3. I created PR for this feature, but it was closed . I would like to discuss exactly this PR and the way how to better implement this.
My proposition is to add to test special comment with task_id value like this
Thanks for the PR. It got closed automatically rather than as a rejection of the work, but chatting here to agree the methodology is a good thing anyway
I’d be happy with the approach you’ve taken, although I’d probably rather prefer a method like task(1) above the test, so
task(1)
def test_empty_strands
# skip
assert_equal 0, Hamming.compute('', '')
end
I feel like that reads a bit nicer. However, this might be hard to pull off for CLI users who don’t have our test runner that can inject stuff.
As a secondary option, I’d rather have the comment on the line before the test with just one hash. For example: