Skip to content

Commit a64944c

Browse files
authored
Merge branch 'main' into feat/redis-common-commands
2 parents 63b5de9 + bee3d87 commit a64944c

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

docs/README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,31 @@
1-
# CLJ-RQ
1+
# Code structure
2+
3+
We have now, [rq.clj](../src/rq.clj) responsible for stablishing the connection to the redis server. If you do not have a redis running on your machine, you can either download redis and run it locally or use our [dockerfile or docker-compose.yml](../docker/docker-compose.yml) to run it.
4+
Also, our [rq folder](../src/rq/) contains all the code we need. You can see how we handle redis on clj or you can test them by yourself.
5+
6+
7+
## Running some tests
8+
9+
To run the tests we've set, you can use one of the following commands:
10+
11+
### Using Clojure CLI
12+
13+
This command will run all the test cases on our deps.edn file.
14+
15+
```sh
16+
17+
clj -M:tests
18+
19+
```
20+
21+
### Using Leiningen
22+
if you want to use lein, you will have to set the environmet before. But this will be the command to run the tests.
23+
24+
```sh
25+
26+
lein test com.moclojer.rq.queue-test
27+
28+
```
29+
30+
This commands will run all the test cases defined in the our tests namespaces and provide feedback on their status.
31+
By running these tests, you can verify the correctness and reliability of the queue operations, such as seeing some important info output on debug mode.

0 commit comments

Comments
 (0)