Updated test_configurations.go for new batch track#1157
Updated test_configurations.go for new batch track#1157ErikSchierboom merged 3 commits intoexercism:mainfrom
Conversation
I'm not sure what you mean by this. The snippets are the bits of code (like summaries) that are shown on the website. They're not opt-into, every iteration has one created for them. |
workspace/test_configurations.go
Outdated
| "ballerina": { | ||
| Command: "bal test", | ||
| }, | ||
| // batch: batch test-runner disabled and focus solely on Windows. |
There was a problem hiding this comment.
This doesn't really have anything to do with the test runner, it is all about running things locally.
And we have a WindowsCommand option for Windows-specific commands:
cli/workspace/test_configurations.go
Line 157 in 27119ad
There was a problem hiding this comment.
I'm a bit confused about how this works.
In windows terminal I start batch files with call built-in command like
call main.batbut in this case if we call test files, how can I validate path?
there a example but may not correct one.
"batch": {
WindowsCommand: "call {{test_files}}",
},There was a problem hiding this comment.
The command you listed will replace {{test_files}} with a space-separated list of all the test files, as defined in the .files.test key in the exercise's .meta/config.json file. E.g. if the student is working on the darts exercise, it would expand too: call DartsTest.bat (see https://github.com/exercism/batch/blob/main/exercises/practice/darts/.meta/config.json#L7-L9).
There was a problem hiding this comment.
I got it, wow, it's a huge ecosystem and everything can work in parallel 😄
There was a problem hiding this comment.
Can you now reReview?
Ah, I thinked snippets which used in website code editor, okay. |
I think I have to leave it like this at this stage, because we only have the verify process. can you verify me @ErikSchierboom ?
LoC tool supports batch language,
and we don't generally use snippets in batch language.