"testitem_block" : {
"patterns": [
{
"name": "keyword.other.testitem.julia",
"begin": "^@testitem\\b",
"beginCaptures": {
"0": {
"name": "keyword.other.testitem.begin.julia"
},
"1": {
"name": "keyword.control.begin.julia"
}
},
"end": "^end\\b",
"endCaptures": {
"0": {
"name": "keyword.other.testitem.end.julia"
}
},
"comment": "@testitem block for unit-testing. MUST begin with `@testitem` on a new line, and end with `end` on a new line.",
"patterns": [
{
"include": "$self"
}
]
}
]
}
Hopefully I did it right. I added a lot of tests btw.
See https://github.com/julia-vscode/TestItemRunner.jl/issues/70 – recommended by @pfitzseb to make a PR here.
The grammar is as follows:
Hopefully I did it right. I added a lot of tests btw.