Changeset 1031:baf571343765


Ignore:
Timestamp:
04/12/13 16:44:00 (6 years ago)
Author:
Panayiotis Smeros <psmeros@…>
Branch:
default
Message:

Updated Tester Guide.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README

    r1009 r1031  
    233233you need to follow to test the functionality of Strabon: 
    234234 
     235 
    235236* Using Eclipse 
    236237 
     
    238239 
    239240        1. Import Strabon into Eclipse as explained in the Developer Guide. 
    240         2. Go to project strabon-testsuite. 
    241         3. Create a Test class in the appropriate package. 
     241        2. Go to strabon-testsuite project. 
     242        3. Create a new folder (Recommended folder name: <test's name>) and place inside the following files: 
     243                3.1. An ntriples or nquads file with the test dataset (Recommended file name: <test's name>[.nt, .nq]). 
     244                3.2. A file with the sparql test query (Recommended file name: <test's name>.rq). 
     245                3.3. A file with the expected test results in xml format (Recommended file name: <test's name>.srx). 
     246        4. Create a test class that extends TemplateTest class. 
     247        5. If you have followed the recommendations the test is ready. If you have different names for your 
     248        files, insert them explicitly in the constructor of TemplateTest class. 
     249         
     250        If you want to run a test: 
     251         
     252        1. Right-click on the test class. 
     253        2. Select "Run as JUnit Test". 
     254        3. Database properties are retrieved from database.properties file. If you want, you can change a property 
     255        on the fly with an environment variable. 
     256 
     257         
     258* Command Line 
     259         
     260        If you want to run all the tests: 
     261         
     262        1. Go to Strabon directory (root directory of all the subprojects). 
     263        2. Run "mvn test". 
     264        3. Optionally you can pass an environment variable with "-DvariableName=variableValue". 
    242265 
    243266 
Note: See TracChangeset for help on using the changeset viewer.