Changes

Jump to navigation Jump to search
11 bytes added ,  11:53, 9 October 2022
Line 4: Line 4:     
== Finding the test results file ==
 
== Finding the test results file ==
The files you need to edit for updating the tests are found in directory [https://github.com/openfoodfacts/openfoodfacts-server/tree/main/tests/unit tests/unit]. Which file you need to look is shown at the top of the test fail message. That file should be somewhere in the tests/unit directory.
+
The files you need to edit for updating the tests are found in directory [https://github.com/openfoodfacts/openfoodfacts-server/tree/main/tests/unit tests/unit]. Which file you need to look is shown at the top of the test fail message. That file should be somewhere in the tests/unit directory.<br>
<nowiki>Must put an example here.</nowiki>
+
 
 +
<nowiki>Must put an example here.</nowiki><br>
 +
 
 
Locate in that file the test that failed based on the text that was checked. This part has an header that corresponds to a filename. This files can be found in the folder [https://github.com/openfoodfacts/openfoodfacts-server/tree/main/tests/unit/expected_test_results expected_test_results] in the test/units directory. Select the directory corresponding to the taxonomy where the test failure occurred.
 
Locate in that file the test that failed based on the text that was checked. This part has an header that corresponds to a filename. This files can be found in the folder [https://github.com/openfoodfacts/openfoodfacts-server/tree/main/tests/unit/expected_test_results expected_test_results] in the test/units directory. Select the directory corresponding to the taxonomy where the test failure occurred.
 +
 
== Correcting the test results file ==
 
== Correcting the test results file ==
 
Now you can open that file and correct the error.
 
Now you can open that file and correct the error.
3,393

edits

Navigation menu