File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,11 @@ The `demos` directory contains a collection of scripts that demonstrate the func
5555
5656## Working with Tests
5757
58- This repository does not currently have a ` tests ` directory . If I need to add tests, I should follow these steps:
58+ The ` tests ` directory contains the test suite for the library . If I need to add tests, I should follow these steps:
5959
60- 1 . Create a ` tests ` directory in the root of the repository.
61- 2 . Inside the ` tests ` directory, create a new ` .bats ` file for the tests (e.g., ` test_chat.bats ` ).
62- 3 . Write the tests using the Bats testing framework. I should source the ` ollama_bash_lib.sh ` file in my test scripts to access its functions.
63- 4 . To run the tests, I can use the ` bats ` command: ` bats tests/ ` .
60+ 1 . Inside the ` tests ` directory, create a new ` .bats ` file for the tests (e.g., ` test_chat.bats ` ).
61+ 2 . Write the tests using the Bats testing framework. I should source the ` ollama_bash_lib.sh ` file in my test scripts to access its functions.
62+ 3 . To run the tests, I can use the ` bats ` command: ` bats tests/ ` .
6463
6564## Testing with Different Bash Versions
6665
You can’t perform that action at this time.
0 commit comments