Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add withConfig test support for kotlin2cpg #3001

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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 ursachec and ml86 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants