Skip to content

Commit 2ce456c

Browse files
committed
docker: add documentation about how to run tests
1 parent a717c04 commit 2ce456c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Docker.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,20 @@ Note: currently, we didn't configure rails to show directly the
6868
`webconsole` in your browser. That's just because of time needed to
6969
find the good configuration, any help will be appreciated !
7070

71+
Run application tests
72+
=====================
73+
74+
To help maintainers, we are in the process of adding tests to check the
75+
application has still the expected behaviour.
76+
77+
To get help about writing tests, see the
78+
[Ruby on Rails documentation](https://guides.rubyonrails.org/testing.html#the-rails-test-runner)
79+
.
80+
81+
To run tests with Docker environment, you need to use this command:
82+
83+
`docker-compose run linuxfr.org bin/rails test -v`
84+
7185
Inspect database schema
7286
=======================
7387

0 commit comments

Comments
 (0)