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 documentation to clarify bats-assert loading #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ a [submodule][git-book-submod].

```sh
$ git submodule add https://github.com/ztombol/bats-support test/test_helper/bats-support
$ git commit -m 'Add bats-support library'
$ git submodule add https://github.com/ztombol/bats-assert test/test_helper/bats-assert
$ git commit -m 'Add bats-support and bats-assert library'
```


Expand All @@ -89,6 +90,7 @@ If you do not use Git for version control, simply

```sh
$ git clone https://github.com/ztombol/bats-support test/test_helper/bats-support
$ git clone https://github.com/ztombol/bats-assert test/test_helper/bats-assert
```


Expand All @@ -103,6 +105,7 @@ following line to a file in the `test` directory loads the

```sh
load 'test_helper/bats-support/load'
load 'test_helper/bats-assert/load'
```

For npm installations, load the libraries from `node_modules`:
Expand Down Expand Up @@ -188,7 +191,7 @@ versions.
<!-- REFERENCES -->

[bats]: https://github.com/sstephenson/bats
[bats-pr-110]: https://github.com/sstephenson/bats/pull/110
[bats-pr-110]: https://github.com/sstephenson/bats/pull/110
[bats-support]: https://github.com/ztombol/bats-support
[bats-assert]: https://github.com/ztombol/bats-assert
[bats-file]: https://github.com/ztombol/bats-file
Expand Down