1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 03:50:08 +02:00

🏗 WIP: Add test for feature to be implemented

This commit is contained in:
2023-01-20 16:42:50 +01:00
parent 44bc07c9dc
commit b5d2fef184
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,30 @@
//
// ValetRcTest.swift
// Unit Tests
//
// Created by Nico Verbruggen on 20/01/2023.
// Copyright © 2023 Nico Verbruggen. All rights reserved.
//
import XCTest
class ValetRcTest: XCTestCase {
// MARK: - Test Files
static var path: URL {
return Bundle(for: Self.self)
.url(forResource: "valetrc", withExtension: "rc")!
}
// MARK: - Tests
func test_can_extract_fields_from_valetrc_file() throws {
// TODO: Load the path and get the fields
}
func test_skip_invalid_fields_valetrc_file() throws {
// TODO: Load the path and throw error
}
}

View File

@ -0,0 +1,3 @@
PHP=php@8.2
OTHER=thing
PHPMON_WATCH=true

View File

@ -0,0 +1,6 @@
fdsgdfg
dgdfg
PHP=fsdfs
;PHP=8.2