Jason Kulatunga
702c7cdf7a
if running test iin github actions, use influxdb service for testing.
2022-04-29 16:39:14 -07:00
Jason Kulatunga
0872da57d7
fixes for tests.
2021-11-17 21:08:56 -08:00
Jason Kulatunga
ce032c5609
fixes for Scrutiny end-to-end testing.
2021-10-28 07:35:25 -07:00
Jason Kulatunga
7b7b4fe4e3
fixing test.
2021-10-24 19:30:29 -07:00
Jason Kulatunga
8a46931399
!!!!WIP!!!!
...
adding InfluxDB
- influxdb added to dockerfile
- influxdb s6 service
- influxdb config
- adding defaults to config
- creating a DeviceRepo interface (multiple db backends)
- implemented DeviceRepo interface as ScruitnyRepository
2021-06-27 10:55:18 -07:00
Jason Kulatunga
93cf676818
added a "Success" test for script notifications.
...
bumping the version in version file? not sure why it wasnt correctly bumped already.
2020-11-03 08:20:02 -08:00
Jason Kulatunga
f27883ea4c
remove requestcatcher live test.
2020-10-08 17:48:44 -06:00
Jason Kulatunga
a3438297e6
removeedd waitgroup, using sync/errgroup instead (to pass error messages back). returning errors in test notifications endpoint payload. Adding failure tests for webhooks, scripts & shoutrr.
2020-10-03 10:40:27 -06:00
Jason Kulatunga
d339e967a6
fixing notifications.
2020-10-02 21:05:04 -06:00
Jason Kulatunga
1c59b3c245
fix tests.
2020-09-21 19:24:39 -06:00
Jason Kulatunga
a57120d600
adding new environmental variables for added debugging: COLLECTOR_LOG_FILE, COLLECTOR_DEBUG, DEBUG, SCRUTINY_LOG_FILE, SCRUTINY_DEBUG
2020-09-21 18:41:52 -06:00
Jason Kulatunga
ad3f8480d9
added some anonymized nvme test data to ensure that NVMe drives are correctly processed by new device detection. thanks @Roxedus.
...
All db testing is done with files created in a temp directory.
2020-09-20 17:37:43 -06:00
Jason Kulatunga
98415e625d
fix import. added simle test for notify test endpoint.
2020-09-18 10:14:19 -06:00
Jason Kulatunga
2ad120c87b
added debug logging message for detected devices.
...
adding a mocked class for Config.
Adding device type to Device struct. Will eventually be needed for raid drives.
adding End-to-end testing capabilties.
Added testdata json files for webserver requests.
Seperated Start code and Setup code in webapp so we can test.
renamed "smart_attributes" to "ata_attributes" - Backwards incomatible change.
Added front end device sorting (red, yellow, green)
show unknown icon/status if drive has no smart data yet.
Moved all attribute "getters" into the controller.
created a device-sort pipe.
2020-08-26 21:35:13 -07:00