How do I include full PartCover results with TeamCity 5?

后端 未结 5 1399
隐瞒了意图╮
隐瞒了意图╮ 2021-02-03 12:42

I\'m trying to get PartCover reports to generate correctly in TeamCity 5.0. When I click the Code Coverage tab in the build details, the reports are empty.

I\'m using t

5条回答
  •  时光取名叫无心
    2021-02-03 13:28

    I had the same problem with the PartCover reports. So I have been trying to make it work right and I just discovered that the problem was the two XSLT files that come with the PartCover distribution.

    I fixed these files and now everything is working fine for me:

    report by assembly

    
    
      
        
    
        
        
        
        
        
        
    
    
      
        
        
            background:ghostwhite; padding: 5px  30px 5px  5px;
            
          
          
    
          
            
              
                
              
              0%
            
            
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              %
            
          
        
    Coverage by assembly

    report by class

    
    
    
    
    
    
    
    
    
    
    
    
    
    
            
                    background:ghostwhite; padding: 5px  30px 5px  5px;
                    
                
                
    
                
                    
                        
                        0%
                    
    
                    
                        
    
                        
                        
                        
                        
                        
                        %
                    
    
                
            
    Coverage by class

    I hope you find this useful. Also, any feedback about this files is welcomed, so we can provide the commutiy with correct files.

提交回复
热议问题