Skip to content

A project template for integration testing using a temporary docker database

License

Notifications You must be signed in to change notification settings

joshring/database_testing_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing database template

1.) Run the temporary database:

./start_env.sh

2.) Copy the database credentials

  • The database credentials are in docker-compose.yml, copy them to your tests file.

Note: An improvement to copying the credentials would be to make a function to create the database connection each time so you don't have to repeat the process each time.

3.) Run the tests you wish to run

About

A project template for integration testing using a temporary docker database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages