Coverage Summary for Class: KtConfig (dev.suresh.jte)
  | Class | 
  Class, %
 | 
  Method, %
 | 
  Branch, %
 | 
  Line, %
 | 
  Instruction, %
 | 
  | KtConfig | 
  
    0%
  
  
    (0/1)
  
 | 
  
    0%
  
  
    (0/1)
  
 | 
     | 
  
    0%
  
  
    (0/1)
  
 | 
  
    0%
  
  
    (0/28)
  
 | 
 package dev.suresh.jte
 
 import App
 import BuildConfig
 import dev.suresh.config.*
 import gg.jte.*
 import gg.jte.output.*
 
 data class KtConfig(val language: String = "Kotlin", val version: String, val appVersion: String?)
 
 class RenderJte {
   fun run() {
     val tmplEngine =
         TemplateEngine.createPrecompiled(ContentType.Plain).apply { setTrimControlStructures(true) }
 
     val params =
         mapOf(
             "config" to JConfig(),
             "ktConfig" to KtConfig(version = App.KOTLIN_VERSION, appVersion = App.VERSION))
 
     listOf("hello.jte", "hello-kt.kte").forEach {
       val output = StringOutput()
       // tmplEngine.render(it, params, output)
       output.writeContent(BuildConfig.time)
       println("$it -> $output")
     }
   }
 }