1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-12-21 11:10:08 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
ec9102618c RealShellTest runs .serialized tests (for timing) 2025-11-18 14:03:23 +01:00
ea6d7ca457 Add testable WebApi 2025-11-18 14:02:16 +01:00
7a60435421 ♻️ Improvements to Container
- RealShell is not reloaded during runtime (bugfix?)
- Container variables are now private(set)
- Initialization now also sets `webApi` property (new)
- It is only possible to run `bind` on a `Container` once now
  (previously known as `prepare`)
- Preparation for upcoming WebApi to replace `curl` command
  (for checking for updates)
2025-11-18 12:04:37 +01:00
38b3c108bf ♻️ Use replacing(with:) instead of .replacingOccurrences(of:with:)
The newer Swift native method is broadly supported and can properly
handle complex UTF-8 characters like emoji, whereas the old API does
not work correctly with emoji.

In most cases, this likely wouldn't have caused any issues but it does
make things a little cleaner now, and ensures we won't encounter emoji
trouble in the future.
2025-11-11 12:55:23 +01:00
fa403b5a99 ♻️ Refactor tests to Swift Testing 2025-10-16 15:57:41 +02:00
db8df8575d ♻️ Migrate more tests to Swift Testing (3/?) 2025-09-29 17:59:33 +02:00
13013f2513 ♻️ Lint tests, add background update check 2025-09-26 17:00:43 +02:00
a7d5950aa0 Test synchronous shell output 2023-11-26 21:48:40 +01:00
7f04dd5fcb Fix tests 2023-05-15 19:15:02 +02:00
5923be099f 👌 Update copyright message 2023-01-19 18:11:25 +01:00
89642de12e Add testable configuration for Valet-free env 2023-01-17 19:16:36 +01:00
a801174f0a Fully cover RealFileSystem 2022-11-09 20:05:15 +01:00
fa5c843619 Add tests for RealFileSystem class 2022-11-08 20:14:10 +01:00
f2d5b94831 Fix tests 2022-11-02 19:44:36 +01:00
ce44166b48 Added more tests, added to fake & real FS 2022-11-01 17:02:26 +01:00
5caca85d7a 👌 Fake FS: ~ and intermediate directories 2022-11-01 16:47:45 +01:00
8417d637fe 👌 FileSystem changes, rework and testing 2022-11-01 13:47:16 +01:00
1c0d9f6826 👌 Swift 6 compatibility 2022-10-18 23:41:46 +02:00
4b8b46a822 Fix test 2022-10-18 14:12:57 +02:00
ea5dd3bc46 👌 Snake case for tests 2022-10-18 14:11:55 +02:00
5e3e0c087b 👌 Read configuration from JSON file
This allows us to alter the configuration prior to launching the app,
which allows for additional flexibility during testing.
2022-10-16 14:35:19 +02:00
eaf6ef658f 🚛 Moved tests around, added Feature, UI tests 2022-10-14 18:03:14 +02:00