Swiftpack.co - m-housh/vapor-testable as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by m-housh.
m-housh/vapor-testable 0.1.3
Helpers for testing vapor3 applications.
⭐️ 0
🕓 4 years ago
.package(url: "https://github.com/m-housh/vapor-testable.git", from: "0.1.3")

VaporTestable

Adds helpers for testing Vapor3 applications.

Usage

Package.swift


// swift-tools-version:4.0
import PackageDescription

let package = Package(
    name: "MyApp",
    dependencies: [
        // 💧 A server-side Swift web framework.
        .package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),

        // 🔵 Swift ORM (queries, models, relations, etc) built on SQLite 3.
        .package(url: "https://github.com/vapor/fluent-sqlite.git", from: "3.0.0-rc.2"),

        // VaporTestable
        .package(url: "https://github.com/m-housh/vapor-testable.git", from:
        "0.1.0"),
       
    ],
    targets: [
        .target(name: "App", dependencies: ["FluentSQLite", "Vapor"]),
        .target(name: "Run", dependencies: ["App"]),
        .testTarget(name: "AppTests", dependencies: ["App", "VaporTestable"])
    ]
)

GitHub

link
Stars: 0
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics