Refactors the existing test suite to use a `_Good`, `_Bad`, and `_Ugly` testing structure. This new format improves the clarity and organization of the tests by distinguishing between happy path scenarios (_Good), expected failures (_Bad), and edge cases (_Ugly). In addition to reorganizing the existing tests, this change also introduces new `_Bad` test cases to `xmrig_test.go` to cover previously untested failure modes, such as a missing miner binary and an unreachable API. This improves the overall quality and robustness of the test suite. |
||
|---|---|---|
| .. | ||
| manager.go | ||
| manager_interface.go | ||
| manager_test.go | ||
| mining.go | ||
| mining_test.go | ||
| service.go | ||
| service_test.go | ||
| syslog_unix.go | ||
| syslog_windows.go | ||
| ttminer.go | ||
| version.go | ||
| xmrig.go | ||
| xmrig_test.go | ||