Skip to content

RedSoftwareSystems/rss-intranet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CORE DAO

Integration tests

To run integration tests you need to use a postgres database. The fastest way is to obtain it from docker.

Use the following command:
docker run --name 'pgactix' -p 5433:5432 -e POSTGRES_PASSWORD=pgactix -e POSTGRES_USER=pgactix -d postgres\

Once the db has started, load the script ./test_resources/pgactix.dump with this command:
docker run -ti --rm --link pgactix:pgactix -e PGPASSWORD=pgactix -v $(pwd)/test_resources:/init postgres /bin/bash
From inside the container run this command to create tables and upload test data:
psql -h pgactix -U pgactix < /init/pgactix.dump

About

Sample intranet created in Rust with Actix framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published