tests: add a teamcity output format for V's test runner (#16681)

This commit is contained in:
Makhnev Petr 2022-12-15 11:29:09 +04:00 committed by GitHub
parent 3fa23b789c
commit db2111235e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 201 additions and 4 deletions

View file

@ -292,6 +292,9 @@ fn (mut ts TestSession) handle_test_runner_option() {
'dump' {
ts.reporter = DumpReporter{}
}
'teamcity' {
ts.reporter = TeamcityReporter{}
}
else {
dump('just set ts.reporter to an instance of your own struct here')
}