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 — Existing test file without test class obstruct generation · Issue #160 · UnitTestBot/UTBotJava

Existing test file without test class obstruct generation #160

New issue
Copy link
New issue
Copy link
Closed
#425
Closed
Existing test file without test class obstruct generation#160
#425
Copy link
Assignees
Vassiliy-Kudryashov
Labels
comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionalityctg-bugIssue is a bugIssue is a bugstatus-verifiedBug fix is verifiedBug fix is verified

Description

@EgorkaKulikov
EgorkaKulikov
opened on Jun 7, 2022
Issue body actions

Description

If a test file with some name has already been created, but there is no test class in it, generating tests in this file will not be finished successfully.

To Reproduce

  • Create class A
  • Create file ATest without class ATest in similar package in test root
  • Generate tests for A

Expected behavior

Tests are generated successfully. The content of ATest file is overwritten with generated test code.

Actual behavior

Test generation fails with error popup: "Failed to Create Class"

160 issue

Activity

  1. EgorkaKulikov
    added
    comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionality
    on Jun 7, 2022
  2. EgorkaKulikov
    assigned
    Vassiliy-Kudryashov
    on Jun 7, 2022
  3. EgorkaKulikov
    added this to UTBot Javaon Jun 7, 2022
  4. EgorkaKulikov
    moved this to Todo in UTBot Javaon Jun 7, 2022
  5. EgorkaKulikov
    added
    ctg-bugIssue is a bugIssue is a bug
    on Jun 7, 2022
  6. Vassiliy-Kudryashov
    moved this from Todo to In Progress in UTBot Javaon Jul 5, 2022
  7. Vassiliy-Kudryashov
    added a commit that references this issue on Jul 5, 2022

    Existing test file without test class obstruct generation #160

    078215a
  8. Vassiliy-Kudryashov
    linked a pull request that will close this issueExisting test file without test class obstruct generation #160 #425on Jul 5, 2022
  9. Vassiliy-Kudryashov
    closed this as completedin #425on Jul 6, 2022
  10. Repository owner moved this from In Progress to Done in UTBot Javaon Jul 6, 2022
  11. Vassiliy-Kudryashov
    added a commit that references this issue on Jul 6, 2022

    Existing test file without test class obstruct generation #160 (#425)

    c09568f
  12. alisevych
    added
    status-verifiedBug fix is verifiedBug fix is verified
    on Jul 6, 2022
  13. rudolf101
    added a commit that references this issue on Jul 8, 2022

    Squashed commit of the following:

    bf2e0e7
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

comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionalityctg-bugIssue is a bugIssue is a bugstatus-verifiedBug fix is verifiedBug fix is verified

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.