mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-04-01 09:10:08 +02:00
📝 Add instructions for tests
This commit is contained in:
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
@@ -1,22 +0,0 @@
|
||||
name: Unit Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, dev/26.x]
|
||||
pull_request:
|
||||
branches: [dev/26.x]
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
xcodebuild test \
|
||||
-project "PHP Monitor.xcodeproj" \
|
||||
-scheme "Unit Tests" \
|
||||
-destination "platform=macOS" \
|
||||
-parallel-testing-enabled YES \
|
||||
-quiet
|
||||
16
DEVELOPER.md
16
DEVELOPER.md
@@ -60,10 +60,18 @@ In order to properly test everything, you will want to use the _PHP Monitor EAP_
|
||||
If you would like to run the unit tests outside of Xcode, you can run:
|
||||
|
||||
xcodebuild test \
|
||||
-project "PHP Monitor.xcodeproj" \
|
||||
-scheme "Unit Tests" \
|
||||
-destination "platform=macOS" \
|
||||
-parallel-testing-enabled NO
|
||||
-project "PHP Monitor.xcodeproj" \
|
||||
-scheme "Unit Tests" \
|
||||
-destination "platform=macOS" \
|
||||
-parallel-testing-enabled NO
|
||||
|
||||
### UI tests
|
||||
|
||||
xcodebuild test \
|
||||
-project "PHP Monitor.xcodeproj" \
|
||||
-scheme "PHP Monitor" \
|
||||
-destination "platform=macOS" \
|
||||
-only-testing "UI Tests"
|
||||
|
||||
### Failures in UI tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user