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 — Generate test by fuzzing for methods with no parameters · Issue #511 · UnitTestBot/UTBotJava

Generate test by fuzzing for methods with no parameters #511

New issue
Copy link
New issue
Copy link
Closed
#515
Closed
Generate test by fuzzing for methods with no parameters#511
#515
Copy link
Assignees
Markoutte
Labels
comp-fuzzingIssue is related to the fuzzingIssue is related to the fuzzing

Description

@Markoutte
Markoutte
opened on Jul 13, 2022
Issue body actions

Description

Fuzzing should generate tests for methods without parameters. Usually, these methods have logic using internal object fields. For example:

public class NestedClasses {
    public int field;

    public boolean testObject() {
        if (field > 10) {
            return true;
        }
        return false;
    }
}

Expected behavior

Fuzzing should provide several test with values for a field (for example, 10 and 11).

Environment

This problem is bound to the fact that fuzzer uses simple creation of this object. For example, fuzzer uses reflection to create this instance when method's class doesn't have public empty constructor.

Potential alternatives

There's no alternatives

Activity

  1. Markoutte
    added
    comp-fuzzingIssue is related to the fuzzingIssue is related to the fuzzing
    on Jul 13, 2022
  2. Markoutte
    self-assigned this
    on Jul 13, 2022
  3. korifey
    added this to UTBot Javaon Jul 13, 2022
  4. korifey
    moved this to Todo in UTBot Javaon Jul 13, 2022
  5. Markoutte
    added a commit that references this issue on Jul 13, 2022

    Generate test by fuzzing for methods with no parameters #511

    a7550af
  6. Markoutte
    closed this as completedin #515on Jul 14, 2022
  7. Markoutte
    added a commit that references this issue on Jul 14, 2022

    Generate test by fuzzing for methods with no parameters #511 (#515)

    d3b10e2
  8. Repository owner moved this from Todo to Done in UTBot Javaon Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Markoutte
    Markoutte

Labels

comp-fuzzingIssue is related to the fuzzingIssue is related to the fuzzing

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 01402520 — 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.