evosuite | automated generation of JUnit test suites | Unit Testing library

 by   EvoSuite Java Version: 1.0.6 License: LGPL-3.0

kandi X-RAY | evosuite Summary

kandi X-RAY | evosuite Summary

evosuite is a Java library typically used in Testing, Unit Testing, Cucumber applications. evosuite has build file available, it has a Weak Copyleft License and it has high support. However evosuite has 553 bugs and it has 3 vulnerabilities. You can download it from GitHub, Maven.

EvoSuite automatically generates JUnit test suites for Java classes, targeting code coverage criteria such as branch coverage. It uses an evolutionary approach based on a genetic algorithm to derive test suites. To improve readability, the generated unit tests are minimized, and regression assertions that capture the current behavior of the tested classes are added to the tests.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              evosuite has a highly active ecosystem.
              It has 716 star(s) with 315 fork(s). There are 42 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 138 open issues and 211 have been closed. On average issues are closed in 172 days. There are 14 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of evosuite is 1.0.6

            kandi-Quality Quality

              OutlinedDot
              evosuite has 553 bugs (60 blocker, 11 critical, 350 major, 132 minor) and 19998 code smells.

            kandi-Security Security

              evosuite has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              evosuite code analysis shows 3 unresolved vulnerabilities (0 blocker, 2 critical, 0 major, 1 minor).
              There are 110 security hotspots that need review.

            kandi-License License

              evosuite is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              evosuite releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              evosuite saves you 1862787 person hours of effort in developing the same functionality from scratch.
              It has 776766 lines of code, 19071 functions and 2974 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed evosuite and discovered the below as its top functions. This is intended to give you an instant insight into evosuite implemented functionality, and help decide if they suit your requirements.
            • Visit an operation
            • Visits a real array variable
            • Visits a referenceArrayVariable
            • Visits the value array
            • Visits the given variable
            • Visit a real variable
            • Visit a variable value
            • Visits the integer array
            • Write HTML report
            • Compile all the test cases and mark them as unstable
            • Writes the data to the report
            • Writes an instruction to the stack
            • Visit method instruction
            • Write a summary page for a run
            • Add Java lang calls to Java
            • Returns the best fitness for the test suite
            • Perform the actual processing of captured interactions
            • Returns the fitness of the branch coverage
            • Analyze the method tree
            • Generate the MutationOperations
            • Change the class loader
            • Executes CVC4 Solver
            • Test the MersenneTwister
            • Analyze the method parameters
            • Minimize the test suite
            • Create the method call stmt
            • Create the control box
            Get all kandi verified functions for this library.

            evosuite Key Features

            No Key Features are available at this moment for evosuite.

            evosuite Examples and Code Snippets

            No Code Snippets are available at this moment for evosuite.

            Community Discussions

            Trending Discussions on evosuite

            QUESTION

            How to only build the client module of evosuite
            Asked 2020-Jan-31 at 16:58

            I'm trying to run the tests of Evosuite's client module, but when I try to compile the module alone maven is not able to find a dependency (evosuite-runtime) which is on the same repository and is correctly build when I compile the complete repository.

            Taking a look at the POM for the client module, the dependency version is written as ${project.version} I'm assuming is not finding it to compile. This is shown:

            [WARNING] Failed to execute goal on project evosuite-client: Could not resolve dependencies for project org.evosuite:evosuite-client:jar:1.0.7-SNAPSHOT: Could not find artifact org.evosuite:evosuite-runtime:jar:1.0.7-SNAPSHOT

            ...

            [ERROR] Failed to execute goal on project evosuite-client: Could not resolve dependencies for project org.evosuite:evosuite-client:jar:1.0.7-SNAPSHOT: Could not find artifact org.evosuite:evosuite-runtime:jar:1.0.7-SNAPSHOT

            When changing the version to 1.0.6 it works fine as that version is available on the online maven repository, but the 1.0.7 version should be locally compiled on the fly.

            Here's the client's module pom section

            ...

            ANSWER

            Answered 2020-Jan-31 at 16:58

            The reason was that the runtime package needed to be installed locally in order to be used to compile the client. Just run from the root module

            Source https://stackoverflow.com/questions/59975367

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install evosuite

            You can download it from GitHub, Maven.
            You can use evosuite like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the evosuite component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/EvoSuite/evosuite.git

          • CLI

            gh repo clone EvoSuite/evosuite

          • sshUrl

            git@github.com:EvoSuite/evosuite.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link