GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — UTBot doesn't show test source from other modules for Gradle project · Issue #1060 · UnitTestBot/UTBotJava

UTBot doesn't show test source from other modules for Gradle project #1060

New issue
Copy link
New issue
Copy link
Closed
#1119
Closed
UTBot doesn't show test source from other modules for Gradle project#1060
#1119
Copy link
Assignees
Vassiliy-Kudryashov
Labels
ctg-bugIssue is a bugIssue is a bug

Description

@tyuldashev
tyuldashev
opened on Oct 3, 2022
Issue body actions

Description

Assume there is Gradle project where two modules exist, one with test source and second one without. When user tries to generate tests in the latter module UTBot shows error instead of suggesting folder from the first module or to create new one.

To Reproduce

Steps to reproduce the behavior:

  1. Create Gradle project with two modules, one of which has test sources deleted (or use attached one)
  2. Open Junit5GradleJava11\driver\src\main\java\org\test\Printer.java
  3. Try to generate tests with UTBot (Alt-Shift-U)

Expected behavior

UTBot opens Generate tests dialog and either suggests test folders from another module or to create test source in current module.

Actual behavior

UTBot shows error and doesn't open dialog Generate Tests
Visual proofs (screenshots, logs, images)

image

Additional context

No such problem in Intellij type project - UTBot suggest to create test folder.

Pleas note that currently user can select test roots from another module only in Gradle project.

Activity

  1. tyuldashev
    added
    ctg-bugIssue is a bugIssue is a bug
    on Oct 3, 2022
  2. tyuldashev
    assigned
    Vassiliy-Kudryashov
    on Oct 3, 2022
  3. tyuldashev
    added this to UTBot Javaon Oct 3, 2022
  4. tyuldashev
    moved this to Todo in UTBot Javaon Oct 3, 2022
  5. Vassiliy-Kudryashov
    added a commit that references this issue on Oct 7, 2022

    UTBot doesn't show test source from other modules for Gradle project #…

    1d2e177
  6. Vassiliy-Kudryashov
    linked a pull request that will close this issueUTBot doesn't show test source from other modules for Gradle project … #1119on Oct 7, 2022
  7. Vassiliy-Kudryashov
    added 2 commits that reference this issue on Oct 21, 2022

    UTBot doesn't show test source from other modules for Gradle project #…

    8f7cff8

    UTBot doesn't show test source from other modules for Gradle project #…

    d2cea77
  8. Vassiliy-Kudryashov
    closed this as completedin #1119on Oct 26, 2022
  9. Repository owner moved this from Todo to Done in UTBot Javaon Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Vassiliy-Kudryashov
    Vassiliy-Kudryashov

Labels

ctg-bugIssue is a bugIssue is a bug

Type

No type

Projects

  • UTBot Java
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.