I'm currently writing unit tests for my custom rul...
# detekt
m
I'm currently writing unit tests for my custom rules. Is there a way to supply .lint() an entire file instead or strings? This works for me, but for longer strings, it gets very messy
Copy code
@Test
fun `TOFUBRuleTest() Test`(){
    TOFUBRule().lint("$kDOCTestString")
}
m
It worked perfectly Thank you!
🙏 1