IGNF / road2

NodeJS routing server aggregating several popular routing engines (video presentation (french) : https://peertube.fr/w/75fwFoW2GP8tQSGLUXUpPP)
https://ignf.github.io/road2/
GNU General Public License v3.0
11 stars 3 forks source link

Update of integration tests #13

Closed lgrd closed 1 year ago

lgrd commented 1 year ago

Update of integration tests

When we run npm run itest, most of the tests work (300/345) but we still need to fix some tests of the following classes :

jmkerloch commented 1 year ago

@lgrd I rebased locally and I have an error when launching itest. Do you have any idea of what could be wrong ? Maybe the test are not valid after a rebase.

> road2@2.0.0-DEVELOP itest
> nyc mocha --recursive './test/integration/mocha/**/*.js'
TypeError: Cannot read properties of undefined (reading 'schema')
    at new pgrSource (/home/docker/app/src/js/sources/pgrSource.js:21:69)
    at Suite.<anonymous> (/home/docker/app/test/integration/mocha/sources/integrationPgrSource.js:67:16)
lgrd commented 1 year ago

@jmkerloch some tests (from itest, like those of pgrSource class) are not ready. I think I will comment them until I fix them.