Skip to content

Conversation

rudolf101
Copy link
Member

@rudolf101 rudolf101 commented Mar 7, 2023

Description

Improved export/import managers to support modular JavaScript projects.

Added the capability to generate tests for collections:

  • Array
  • Map
  • Set

How to test

Manual tests

Various scenarios have been tested. You can find the examples in the folder `/utbot-js/samples' and try to run UTBot.

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

zishkaz and others added 30 commits February 16, 2023 14:28
@rudolf101 rudolf101 changed the title General JavaScript module update Improve fuzzer & test exports/imports in JavaScript module Mar 7, 2023
@rudolf101 rudolf101 added this to the 2023.03 Release milestone Mar 7, 2023
# Conflicts:
#	utbot-intellij-js/src/main/kotlin/org/utbot/intellij/plugin/language/js/JsDialogProcessor.kt
@rudolf101 rudolf101 marked this pull request as ready for review March 7, 2023 16:06
rudolf101 and others added 5 commits March 7, 2023 19:17
# Conflicts:
#	utbot-js/src/main/kotlin/api/JsTestGenerator.kt
#	utbot-js/src/main/kotlin/api/JsUtModelConstructor.kt
#	utbot-js/src/main/kotlin/fuzzer/JsFuzzerApi.kt
#	utbot-js/src/main/kotlin/fuzzer/JsFuzzing.kt
#	utbot-js/src/main/kotlin/fuzzer/providers/BoolValueProvider.kt
#	utbot-js/src/main/kotlin/fuzzer/providers/NumberValueProvider.kt
#	utbot-js/src/main/kotlin/fuzzer/providers/ObjectValueProvider.kt
#	utbot-js/src/main/kotlin/fuzzer/providers/StringValueProvider.kt
#	utbot-js/src/main/kotlin/parser/JsFuzzerAstVisitor.kt
#	utbot-js/src/main/kotlin/parser/JsParserUtils.kt
#	utbot-js/src/main/kotlin/service/coverage/CoverageServiceProvider.kt
@zishkaz zishkaz requested a review from Markoutte March 10, 2023 16:21
@zishkaz zishkaz merged commit 4b401f0 into main Mar 13, 2023
@zishkaz zishkaz deleted the sergeyl/js-update branch March 13, 2023 05:15
@zishkaz zishkaz restored the sergeyl/js-update branch March 14, 2023 13:01
denis-fokin pushed a commit that referenced this pull request Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-codegen Issue is related to code generator comp-fuzzing Issue is related to the fuzzing ctg-enhancement New feature, improvement or change request lang-javascript Issue is related to JavaScript support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants