Skip to content

Commit e91792e

Browse files
committed
README: clarifications on how to use the tester
1 parent 48bd0b4 commit e91792e

File tree

1 file changed

+41
-28
lines changed

1 file changed

+41
-28
lines changed

README.md

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -58,35 +58,7 @@ I think from this you pretty much can figure it out, it isn't a big change :)
5858

5959
---
6060

61-
# How To Launch The Tester
62-
Clone it to the root of your minishell
63-
64-
cd to the testers folder
65-
## Options
66-
67-
```bash
68-
bash tester.sh m
69-
```
70-
```bash
71-
bash tester.sh vm
72-
```
73-
```bash
74-
bash tester.sh ne
75-
```
76-
```bash
77-
bash tester.sh d
78-
```
79-
```bash
80-
bash tester.sh b
81-
```
82-
```bash
83-
bash tester.sh a
84-
```
85-
86-
---
87-
8861
# How To Install and Run
89-
9062
To install the script, copy and run following command:
9163

9264
```
@@ -105,6 +77,47 @@ mstest
10577

10678
---
10779

80+
# How To Launch The Tester
81+
82+
Do this if not using the `mstest` alias:
83+
* Clone it to the root of your minishell
84+
* cd to the tester's folder
85+
86+
## Options
87+
Of course if using the `mstest` alias,
88+
use that instead of `bash tester.sh`.
89+
So a command should look like this:
90+
`mstest help` or `mstest m` and etc.
91+
92+
When using the `mstest` alias, you don't
93+
need to cd to the tester's folder.
94+
95+
Some options are not shown here,
96+
run the help command to see them!
97+
98+
Print all options:
99+
```bash
100+
bash tester.sh help
101+
```
102+
Mandatory tests:
103+
```bash
104+
bash tester.sh m
105+
```
106+
Mandatory tests (with valgrind):
107+
```bash
108+
bash tester.sh vm
109+
```
110+
Tests for bonus from PDF:
111+
```bash
112+
bash tester.sh b
113+
```
114+
Tests both mandatory and bonus:
115+
```bash
116+
bash tester.sh a
117+
```
118+
119+
---
120+
108121
# Updates
109122
Tests without environment now are updated, separated and can be run with:
110123

0 commit comments

Comments
 (0)