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

Update testing section of README with current info #1850

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattwr18
Copy link
Contributor

@mattwr18 mattwr18 commented May 6, 2024

Whats included in this PR and why

This updates the testing section of the README to remove some outdated info/duplication and to add the info that the tests run from a dedicated test .env.test.local file.

Whats not included and why

It does not update any other info in the README that would help new collaborators get set up or update outdated info.
This is open for discussion. Should we expand the scope of this PR to make such changes and potentially collaborate on it @soey

@mattwr18 mattwr18 requested a review from soey May 9, 2024 06:52

```bash
$ docker compose exec -it app bash
$ RAILS_ENV=test rspec
$ docker compose exec app bundle exec rspec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still have to set the env variable RAILS_ENV to test to make the test run. So I think we should replace this line with:

$ docker compose exec -e RAILS_ENV=test app bundle exec rspec

@soey
Copy link
Contributor

soey commented May 15, 2024

Thank you for that @mattwr18 - i think we need to make a small adjustment. Besides that it seems good to go..

@soey
Copy link
Contributor

soey commented May 15, 2024

I think we don't need to extend the scope of this MR. We are always free to add more in other MRs if we want to.

@mattwr18 mattwr18 force-pushed the update_testing_section_of_readme branch from fc86e34 to 37fc53e Compare October 22, 2024 10:51
@mattwr18 mattwr18 force-pushed the update_testing_section_of_readme branch from 37fc53e to d70cad0 Compare October 23, 2024 07:59
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.

2 participants