Commit 40d6ddd7 authored by Kevin Bi's avatar Kevin Bi
Browse files

"Added section about using the tarantula calculation programs in eclipse"

parent 5ec49234
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -66,9 +66,11 @@ Evaluating bugs using Tarantula
	- cd /tacoco/
	- ./run-jacoco /absolute/path/to/repo/triangle triangle /absolute/path/to/repo/tacoco

3. Run TarantulaMain: TarantulaMain requires two args(see the file for more details), the first is the absoluteolute path to the cov-matrix.json file, the second is the name of the Test class, if the test program belongs to a package make sure to specify the package, ex: Triangle.TestSuite
3. Run TarantulaMain: TarantulaMain requires two args(see the file for more details), the first is the absolute path to the cov-matrix.json file, the second is the name of the Test class, if the test program belongs to a package make sure to specify the package, ex: Triangle.TestSuite
	- java TarantulaMain /absolute/path/to/repo/tacoco/triange-compact-cov-matrix.json TestSuite

	- TarantulaMain can also be run in eclipse simply, copy all the code tarantula dir into a new java project and use the Run Configurations option to allow for command line arguments, another option is to hard code the files and classes, it is also easier (in my opinion) to set the build path since Runner and covMatrixReader both require imports 

4, Clean the tacoco dir: Run clean-tacoco in order to clean the dir so it can be reused, this means tacoco will have to be recompiled
	- ./clean-tacoco
	- mvn compile (in tacoco)