Skip to content

Commit

Permalink
Support composer test command (#115)
Browse files Browse the repository at this point in the history
This is a simple PR that allows tests to be run with `composer test`, as
one might guess they could be run.

This also fixes an unrelated typo.
  • Loading branch information
brandonpayton authored Dec 10, 2024
1 parent c7ed61b commit 759c614
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ composer install
### Run tests with

```shell
vendor/bin/phpunit --testdox
composer test
```

### Run Blueprints in a variety of ways
Expand All @@ -82,7 +82,7 @@ vendor/bin/phpunit --testdox
php examples/blueprint_compiling.php
```

#### using a string containg a Blueprint (in JSON):
#### using a string containing a Blueprint (in JSON):

```shell
php examples/json_string_compiling.php
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@
"classmap": [
"tests/"
]
},
"scripts": {
"test": "phpunit --testdox"
}
}

0 comments on commit 759c614

Please sign in to comment.