How do I generate Emma code coverage reports using Ant?

前端 未结 3 801
误落风尘
误落风尘 2020-12-25 12:18

How do I setup an Ant task to generate Emma code coverage reports?

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-25 13:03

    The User Guide has a good example of how to set up your build script so that you not only seperate the instrumented code from the execution, but it's also all contained in the same so that you don't have to run a series of different targets, but instead you can just do something like ant emma tests (if ant tests was how you normally ran your unit tests, for example).

    Here's their example:

    
        
        
        
        
    
    
    
        
          
        
    
        
        
          
           
            
            
           
          
          
        
    
        
          
            
              
            
    
            
            
          
        
    
    

提交回复
热议问题