File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ This [Github Action](https://github.com/features/actions) displays test results
1616-  .NET / [ dotnet test] ( https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test#examples )  ( [ xUnit] ( https://xunit.net/ )  / [ NUnit] ( https://nunit.org/ )  / [ MSTest] ( https://github.com/Microsoft/testfx-docs )  )
1717-  Dart / [ test] ( https://pub.dev/packages/test ) 
1818-  Flutter / [ test] ( https://pub.dev/packages/test ) 
19+ -  Go / [ go test] ( https://pkg.go.dev/testing ) 
1920-  Java / [ JUnit] ( https://junit.org/ ) 
2021-  JavaScript / [ JEST] ( https://jestjs.io/ )  / [ Mocha] ( https://mochajs.org/ ) 
2122-  Swift / xUnit
@@ -140,6 +141,7 @@ jobs:
140141    #   dotnet-nunit 
141142    #   dotnet-trx 
142143    #   flutter-json 
144+     #   golang-json 
143145    #   java-junit 
144146    #   jest-junit 
145147    #   mocha-json 
@@ -278,6 +280,13 @@ For more information see:
278280
279281</details> 
280282
283+ <details> 
284+   <summary>golang-json</summary> 
285+ 
286+ You must use the `-json` flag and output the results to a file (ex : ` go test -json > testresults.json` ) 
287+ 
288+ </details> 
289+ 
281290<details> 
282291  <summary>java-junit (Experimental)</summary> 
283292
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {getReport} from './report/get-report'
1313import  { DartJsonParser }  from  './parsers/dart-json/dart-json-parser' 
1414import  { DotnetNunitParser }  from  './parsers/dotnet-nunit/dotnet-nunit-parser' 
1515import  { DotnetTrxParser }  from  './parsers/dotnet-trx/dotnet-trx-parser' 
16+ import  { GolangJsonParser }  from  './parsers/golang-json/golang-json-parser' 
1617import  { JavaJunitParser }  from  './parsers/java-junit/java-junit-parser' 
1718import  { JestJunitParser }  from  './parsers/jest-junit/jest-junit-parser' 
1819import  { MochaJsonParser }  from  './parsers/mocha-json/mocha-json-parser' 
@@ -248,6 +249,8 @@ class TestReporter {
248249        return  new  DotnetNunitParser ( options ) 
249250      case  'dotnet-trx' :
250251        return  new  DotnetTrxParser ( options ) 
252+       case  'golang-json' :
253+         return  new  GolangJsonParser ( options ) 
251254      case  'flutter-json' :
252255        return  new  DartJsonParser ( options ,  'flutter' ) 
253256      case  'java-junit' :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments