qwat / qwat-data-model

TEKSI Water module (project QWAT) - PostgreSQL / postgis Datamodel
https://www.teksi.ch
23 stars 24 forks source link

missing tests in tests scripts #242

Open lbartoletti opened 6 years ago

lbartoletti commented 6 years ago

tests/tests.sh should exit if pum is not installed or database qwat_test not created

lbartoletti commented 6 years ago

Also IMHO there is a lack of tests in the scripts.

haubourg commented 6 years ago

Also IMHO there is a lack of tests in the scripts.

more precisely, which lacks?

lbartoletti commented 6 years ago

Maybe that will never happen, but here's what I've noticed.

The scripts are considered as existing and used in a certain way. I made a patch in #241 TEST_SCRIPT in test_scalability*.py are considered as existing No verification if you can create OUTPUT_STAT in test_scalability_multithread.py.