Commit VOL-4124. Testcases for device package.

Change-Id: I2fe37621e373f57d9f90da14a0bf0600b8328362
diff --git a/Makefile b/Makefile
index 218db5e..4db8dfb 100644
--- a/Makefile
+++ b/Makefile
@@ -118,6 +118,12 @@
 
 test: ## Run unit tests
 	@echo "Call unit test case suite"
+	@mkdir -p ./tests/results
+	@${GO} test -mod=vendor -v -coverprofile ./tests/results/go-test-coverage.out -covermode count ./... 2>&1 | tee ./tests/results/go-test-results.out ;\
+	RETURN=$$? ;\
+	${GO_JUNIT_REPORT} < ./tests/results/go-test-results.out > ./tests/results/go-test-results.xml ;\
+	${GOCOVER_COBERTURA} < ./tests/results/go-test-coverage.out > ./tests/results/go-test-coverage.xml ;\
+	exit $$RETURN
 
 sca: ## Runs static code analysis with the golangci-lint tool
 	@rm -rf ./sca-report