LogicMonitor Unit Testing Container (AMD64/ARM64)
766
This Docker container provides an environment for testing Groovy scripts, particularly LogicMonitor property sources.
docker build -t logicmonitor-unit-tests .
docker run --rm -v /path/to/your/project:/app logicmonitor-unit-tests
Add this to your Makefile:
test-property-sources:
@echo "Running property source tests with Docker..."
@docker build -t logicmonitor-unit-tests -f logicmonitor-unit-tests/Dockerfile temp/docker/logicmonitor-unit-tests
@docker run --rm -v $(PWD):/app logicmonitor-unit-tests
You can customize the test execution by modifying the run_tests.sh script. For example, you can:
Content type
Image
Digest
sha256:6a1112913…
Size
375.8 MB
Last updated
about 1 year ago
docker pull setswei/logicmonitor-unit-tests