Skip to content

Conversation

@johannescoetzee
Copy link
Contributor

#2982 added a withConfig method to testCpgs to set the config on a per-testcase basis without having to wire class parameters through the various fixtures. This PR enables this for kotlin2cpg and adds a method that can be overridden to use the config for all tests in a suite.

@johannescoetzee johannescoetzee requested review from ml86 and ursachec July 4, 2023 15:17
@johannescoetzee johannescoetzee changed the title Johannes/kotlin withconfig Add withConfig test support for kotlin2cpg Jul 4, 2023
…cpg/testfixtures/KotlinCodeToCpgFixture.scala Co-authored-by: Claudiu-Vlad Ursache <claudiu+hw@shiftleft.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants