-
Install robotframework,
run the following command:
pip install robotframework==3.2.2
move
robot304in robotAPI into your site-package. -
Use following command to run all tests.
All tests should be passed.
python python_package/test/testRunner.py
python python_package/newTest/testRunner.py
-
Download the Eclipse from here.
-
Install the
Eclipse Plug-in Development Environment(PDE)feature in Eclipse. -
Import the
refactor_toolproject into Eclipse -
Install the
rfrefactoringpackageRun the following command:
pip install JoeLiu-RF_Refactoring
-
Put the
jython-standalone-2.7.2b3.jarintorfrefactoringfolder -
Run the plugin
Right click project ->
Run As->Eclipse Application -
Set the
python site-packagelocation for the plugin7.1 Go to
Windows->Preferences->Robot Framework Refactoring7.2 Set the
site-packagespathYou should replace it to your path!!! -
Restart the plugin and it should be able to refactoring.
-
Run the
unit testsfor plugin9.1 Open the
test/RefactorHelperTest.java9.2 Replace the
pythonSitevariable with your site-package path
9.3 Open the
test/NewRefactorHelperTest.java9.4 Replace the
pythonSitevariable with your site-package path
9.5 Run
RefactorHelperTestandNewRefactorHelperTestwith junitAll tests should be passed.
