equal
deleted
inserted
replaced
70 after which you can view the generated documentation at dist/javadoc/index.html. |
70 after which you can view the generated documentation at dist/javadoc/index.html. |
71 |
71 |
72 - Running tests |
72 - Running tests |
73 |
73 |
74 Nashorn tests are TestNG based. Running tests requires downloading the |
74 Nashorn tests are TestNG based. Running tests requires downloading the |
75 TestNG library and placing its jar file into the lib subdirectory: |
75 TestNG library and placing its jar file into the test/lib subdirectory. This is |
|
76 done automatically when executing the "ant externals" command to get external |
|
77 test suites (see below). |
76 |
78 |
77 # download and install TestNG |
79 Once TestNG is properly installed, you can run the tests using: |
78 wget http://testng.org/testng-x.y.z.zip |
|
79 unzip testng-x.y.z.zip |
|
80 cp testng-x.y.z/testng-x.y.z.jar test/lib/testng.jar |
|
81 |
|
82 After that, you can run the tests using: |
|
83 cd make |
80 cd make |
84 ant clean test |
81 ant clean test |
85 |
82 |
86 You can also run the ECMA-262 test suite with Nashorn. In order to do |
83 You can also run the ECMA-262 test suite with Nashorn. In order to do |
87 that, you will need to get a copy of it and put it in |
84 that, you will need to get a copy of it and put it in |