You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* New code functionality complete for Issue #60
* checkpoint
* reconciler tests complete
* Checkpoint with testfixture
* Checkpoint for major test cleanup
* first pass refactor of unit tests completed
* All unit tests are functioning as inteded.
* Well, sort of... fixed now.
* final cleanup
* Added necessary mods to support new metrics changes
* updated controller-gen stuff to support build
* Removed malfunctioning test
* Updated Docker base image to go v1.23
* Minor updates per feedback
Copy file name to clipboardExpand all lines: README.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,4 +164,21 @@ Unit tests are currently found in the following files:
164
164
165
165
- cmd/suite_test.go
166
166
167
-
To run the unit tests, run `make test` from the root directory of this workspace. To debug the unit tests, click on the file you would like to debug. In the `Run and Debug` tab in Visual Studio Code, change the launch configuration from "Debug" to "Test current file", and then press F5. **NOTE: Using the Visual Studio Code "Testing" tab does not currently work due to VS Code not linking the static binaries correctly.**
167
+
To run the unit tests, run `make test` from the root directory of this workspace. To debug the unit tests, click on the file you would like to debug. In the `Run and Debug` tab in Visual Studio Code, change the launch configuration from "Debug" to "Test current file", and then press F5.
168
+
169
+
**NOTE: Using the Visual Studio Code "Testing" tab may not work OOB due to VS Code not linking the static binaries correctly. The solution is to perform the following tasks***
170
+
171
+
Update VSCode Settings for Tests:
172
+
173
+
* Open VSCode settings (Ctrl+, or Cmd+,).
174
+
* Search for go.testFlags.
175
+
* Add the following to the go.testFlags array:
176
+
177
+
```json
178
+
179
+
["-ldflags=-extldflags=-lm"]
180
+
181
+
```
182
+
183
+
This tells the Go test runner to include the linker flag for all test commands.
0 commit comments