Testing UrMoAC
UrMoAC is tested using the acceptance tests framework TextTest.
To run the tests
- Install TextTest
- Export an executable jar to <URMOAC>\bin\UrMoAC.jar
- execute <URMOAC>\tests\runUrMoACTests.bat
To run PostgreSQL + PostGIS tests you additionally have to
- build a local (at localhost) database named
urmoac_postgres_tests
- add PostGIS extensions (
CREATE EXTENSION postgis;
) - add a user named
urmoactests
withurmoactests
as password (create user urmoactests with encrypted password 'urmoactests'
) - give the user access to the database (
GRANT ALL PRIVILEGES ON DATABASE urmoac_postgres_tests TO urmoactests;
) - execute <URMOAC>\tests\runUrMoACPostgresTests.bat