Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added DB profiles for testing. #147

Merged
merged 1 commit into from Jan 21, 2020
Merged

Added DB profiles for testing. #147

merged 1 commit into from Jan 21, 2020

Conversation

bsv-hub
Copy link
Contributor

@bsv-hub bsv-hub commented Jan 20, 2020

По мотивам https://github.com/Hexlet/hexlet-sicp/issues/121, настроил два профиля для тестовой БД. Можно запускать тесты на postgres c откатом по транзакции. Доп. информацию по этому поводу добавил в README.md
DB_CONNECTION=pgsql_test make test

  • Если других участников устроит, то в будущем можно будет сделать pgsql_test основным профилем для тестов.
  • Могу добавить установку альтернативной тестовой БД через Makefile.

@fey fey merged commit 7111917 into Hexlet:master Jan 21, 2020
@bsv-hub bsv-hub deleted the issue-121 branch January 25, 2020 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants