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 new import/export system for JavaScript #2188

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

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