File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,20 @@ go test -run TestDetermineBranches # runs the single test named 'TestDetermineBr
219
219
go test -coverprofile=cover.out && go tool cover -html=cover.out
220
220
```
221
221
222
+ ### Run the Tests from your IDE (GoLand or IntelliJ IDEA)
223
+
224
+ When you try to run * mob_test.go* in your IDE you may get the following errors:
225
+ ```
226
+ ./mob_test.go:17:2: undefined: configuration
227
+ ./mob_test.go:17:18: undefined: getDefaultConfiguration
228
+ ... and so on ...
229
+ ```
230
+
231
+ This is because the ** Run Configuration** uses ** Test Kind: File** as default and therefor does not find the source code within * mob.go* .
232
+ Change the ** Test Kind** to ** Directory** , and try again.
233
+ The tests should work now.
234
+
235
+
222
236
## Design Concepts
223
237
224
238
- ** mob** is a thin wrapper around git.
You can’t perform that action at this time.
0 commit comments