File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -96,12 +96,14 @@ would type:
96
96
97
97
``` bash
98
98
bb new-test clojure.core/foo
99
- ;; or
99
+ # or
100
100
bb new-test foo
101
+
102
+ # For other clojure namespaces, specify the ns, like:
103
+ bb new-test clojure.string/includes?
101
104
```
102
105
103
- will create a new file named ` foo.cljc ` in the test namespace. The
104
- test file will look like the following:
106
+ The test file will look like the following:
105
107
106
108
```
107
109
(ns clojure.core-test.foo
@@ -123,7 +125,7 @@ test file will look like the following:
123
125
Simply fill in test assertions and you're off and running.
124
126
125
127
Note: ` new-test ` takes care of converting various characters that
126
- might be problematic in file names to expanded versions. For instance
128
+ might be problematic in file names to expanded versions. For instance,
127
129
"?" is converted to "qmark" and "* " is converted to
128
130
"star". Thus, you should always provide the name of the ` clojure.core `
129
131
symbol you want to test, not the file name or other name. You may need
You can’t perform that action at this time.
0 commit comments