Questions tagged [randoop]

Randoop is a unit test generator for Java. It automatically creates unit tests for your classes, in JUnit format.

Randoop is a unit test generator for Java. It automatically creates unit tests for your classes, in JUnit format.

More info at https://randoop.github.io/randoop/

42 questions
0
votes
1 answer

How to correctly use Randoop on Windows 10?

I'm using Android Studio on Windows 10 to develop a Java Android app; I need to use Randoop for automatic test generation but I'm having some problems, so here are my questions: I don't have the files *.class of my project, I only have *.java…
Ivan
  • 1
  • 1
  • 8
0
votes
0 answers

How to work with Randoop on eclipse maven project?

I am trying to use Randoop to genrate automatic test cases for my project but I could not get details about how to add randoop in eclipse. https://randoop.github.io/randoop/manual/index.html has information about command line usage. I would like to…
Techie
  • 759
  • 4
  • 11
  • 29
0
votes
1 answer

Randoop junit generator pupulates null value for parameter values

I'm using Randoop to generate Junit and it is always passing null values when the parameter is not a premitive type for example i have class ClassA which has methods with non-premitive type as parameter for example when the mehtod…
saravanan
  • 1
  • 1
0
votes
1 answer

Programatically Remove try/catch blocks from test cases

I'm instrumenting test code for a research project. We start with test cases such as @Test public void test025() throws Throwable { if (debug) System.out.format("%n%s%n", "RegressionTest1.test025"); java.lang.Double[] d_array2 = new…
Loren
  • 9,783
  • 4
  • 39
  • 49
0
votes
1 answer

How often do Libraries change? Do Libraries need regression testing as much as programs do?

I read it in a research paper published on IEEE which said that libraries dont change often and hence dont need much of regression testing. I wanted someone to verify the statement. Also, it said that Randoop was earlier developed and evaluated on…
0
votes
3 answers

Randoop on windowns -No class with the name "ParserConfigurationSettings" found on the classpath

Hello I'm getting the following erro after put the following command in the MS-DOS: C:\Users\Aline\Desktop\ClassesdoEstudodeCaso\ProjetosSelecionados\xerces-2.10.0\bin\org\apache\xerces\util>java -ea -classpath randoop.jar randoop.main.Main…
0
votes
1 answer

Unable to load type error in Randoop

When I try to run Randoop in the Windows terminal I get the following error: C:\Users\dell13\workspace\project>java -classpath .;.\randoop-3.0.7\randoop-all-3.0.7.jar randoop.main.Main gentests --testclass=Factorial --timelimit=60 policy =…
0
votes
1 answer

How to use jacoco manually in eclipse gradle project

I want to use the API of jacoco in my codes in an eclipse gradle project. But the jacoco library seems not on the build path of my project. The jacoco is a plugin of gradle. I can not use jacoco library directly in eclipse gradle project. Here is an…
yangyixiaof
  • 225
  • 4
  • 15
0
votes
3 answers

Unable to find Randoop eclipse plugin

My requirement is to generate test cases automatically in JAVA, for which i was considering to use Randoop. Is there any urlfor downloading Randoop plugin for eclipse. I can't access eclipse market-place from my network. I tried downloading…
psingh
  • 64
  • 1
  • 13
0
votes
2 answers

Java Class Path issue with Randoop

I'm using Randoop, the automatic test generator for Java. However, when running Randoop from the commandline, I can't seem to figure out how to properly specify the classpath. I read through this question: Java Classpath error-cannot find my class…
waylonion
  • 6,866
  • 8
  • 51
  • 92
-1
votes
2 answers

Unable to set the package name for classpath in randoop

Here the project structure cloned from github after compiling on Ubuntu successfully, javaml bin net/sf/javaml/core/Dataset.class javaml src net/sf/javaml/core/Dataset.java When the following command wa given: java -ea…
Shahid
  • 3
  • 1
  • 3
-1
votes
1 answer

The Randoop open source project for .NET

I am working on automatic unit test generation tool for .NET Applications and I found Randoop toolof microsoft research very interesting .I searched for developer forums for randoop and I didn't find many useful results. I found the open source code…
jkalwar
  • 61
  • 1
  • 7
1 2
3