Skip to content

Commit

Permalink
updated docs for easy dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Apr 29, 2020
1 parent 8b662ab commit 6bbb204
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,23 @@ You will need a "local" version of OpenEMR to make changes to the source code. T
```sh
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools e2e-test'
```
- To run service testing:
- To run services testing:
```sh
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools service-test'
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools services-test'
```
- To run fixture testing:
- To run fixtures testing:
```sh
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools fixture-test'
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools fixtures-test'
```
8. To run the entire dev tool suite (PHPCS fix, PHP parse error, unit/API/e2e/service/fixture tests) in one command, run
- To run validators testing:
```sh
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools validators-test'
```
8. To run the entire dev tool suite (PHPCS fix, PHP parse error, unit/API/e2e/services/fixtures/validators tests) in one command, run
```sh
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools clean-sweep'
```
9. To run only all the automated tests (unit/API/e2e/service/fixture tests) in one command, run
9. To run only all the automated tests (unit/API/e2e/services/fixtures/validators tests) in one command, run
```sh
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools clean-sweep-tests'
```
Expand Down

0 comments on commit 6bbb204

Please sign in to comment.