-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 898 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: test test-unit test-integration coverage clean help
SCHEME = VPNBarApp
help:
@echo "Available targets:"
@echo " test - Run all tests"
@echo " test-unit - Run unit tests only"
@echo " test-integration - Run integration tests only"
@echo " coverage - Generate code coverage report"
@echo " clean - Clean test artifacts"
test:
@echo "🧪 Running all tests..."
@swift test
test-unit:
@echo "🧪 Running unit tests..."
@swift test --filter VPNBarAppTests
test-integration:
@echo "🧪 Running integration tests..."
@swift test --filter VPNBarAppIntegrationTests
coverage:
@echo "📊 Generating coverage report..."
@swift test --enable-code-coverage
@echo "✅ Coverage data generated. Use Xcode to view coverage report."
clean:
@echo "🧹 Cleaning test artifacts..."
@swift package clean
@echo "✅ Clean complete"