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

Kotlin mutator testing #23

Merged
merged 16 commits into from
Dec 23, 2022
Merged

Kotlin mutator testing #23

merged 16 commits into from
Dec 23, 2022

Commits on Dec 14, 2022

  1. Added log-test for stryker4jvm-core

    Removed redundant scala files
    s2176416 committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    5a3cdf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fef7790 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2022

  1. Initial test setup for kotlin

    Many bugs fixed with tests not being run by maven
    Modified KotlinAST to fake immutability, I am pretty sure you can insert new elements into KtElements however this would change the hashCode of the AST and result in problems.
    Added more constructors for kotlin classes to support variety in used mutators
    s2176416 committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    e60cd89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47438fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3487c0a View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    179b81f View commit details
    Browse the repository at this point in the history
  2. Converted project to gradle (also converted the tests to work with ko…

    …tlin.test again instead of using jupyter)
    s2176416 committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    5de505d View commit details
    Browse the repository at this point in the history
  3. Updated tests slightly

    s2176416 committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    6801b22 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Configuration menu
    Copy the full SHA
    fa8ee82 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'kotlin-maven-to-gradle' into kotlin-mutator-testing

    # Conflicts:
    #	stryker4jvm-mutator-kotlin/src/test/kotlin/stryker4jvm/mutator/kotlin/InstrumenterTest.kt
    s2176416 committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    7824db1 View commit details
    Browse the repository at this point in the history
  3. Created KotlinMutatorTest

    s2176416 committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    2463be0 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into kotlin-mutator-testing

    # Conflicts:
    #	stryker4jvm-mutator-kotlin/src/main/kotlin/stryker4jvm/mutator/kotlin/KotlinInstrumenter.kt
    #	stryker4jvm-mutator-kotlin/src/main/kotlin/stryker4jvm/mutator/kotlin/KotlinParser.kt
    s2176416 committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    28a0c8d View commit details
    Browse the repository at this point in the history
  5. Modified kotlin components to CIRCUMVENT configuration

    Circumvent is made because the current way of passing down a config makes it really hard to test individual components as they now all require a configuration. Would be better if they were passed to the constructor once (of the class that extends LanguageMutator) such that individual components do not depend on this configuration anymore (config can be used once and then discarded as classes should be initialized based on config)
    Fixed issue with stryker4jvm-core exception having multiple constructors
    s2176416 committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    2e9ea2f View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. Configuration menu
    Copy the full SHA
    d4ee2a9 View commit details
    Browse the repository at this point in the history
  2. Fixed issue with instrumenter not returning a new instance of KotlinA…

    …ST but instead modifying the original.
    
    Note that it still modifies the original but that we wrap the resulting tree into a new AST
    s2176416 committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    7617b11 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Configuration menu
    Copy the full SHA
    770ccc0 View commit details
    Browse the repository at this point in the history