Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

rudolf101
Copy link
Member

Description

Add support for generating tests for multi-file projects.
Add new tests for multi-file projects.

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.

@rudolf101 rudolf101 added ctg-enhancement New feature, improvement or change request comp-codegen Issue is related to code generator lang-javascript Issue is related to JavaScript support labels Apr 26, 2023
@rudolf101 rudolf101 requested a review from Markoutte April 26, 2023 10:22
Copy link
Collaborator

@Markoutte Markoutte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot get any test for scenarioMultyClassNoTopLevel.js in any method. Also, has an exception:

java.lang.UnsupportedOperationException: No test cases were generated for fDel
	at api.JsTestGenerator.makeTestsForMethod(JsTestGenerator.kt:204)
	at api.JsTestGenerator.run(JsTestGenerator.kt:142)
	at org.utbot.intellij.plugin.language.js.JsDialogProcessor$createTests$1.run(JsDialogProcessor.kt:195)

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 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