From 784295c4d29e480519e9f4e2e6db26fdfe9508da Mon Sep 17 00:00:00 2001 From: Jimmy School Date: Wed, 11 Jan 2017 16:11:20 -0600 Subject: [PATCH] add note --- testing/modules.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/modules.md b/testing/modules.md index eb96ccad..167af2bc 100644 --- a/testing/modules.md +++ b/testing/modules.md @@ -6,6 +6,8 @@ currentMenu: testing-modules Testing a Vapor app gets tricky, and requires some maneuvering of your app targets. +> [WARNING] Technically this is only necessary if you plan to run your tests on Linux. You can keep your tests in the same module if you want to only run your tests from the command line using `vapor test` + ## **Step 1:** Update Package.swift To start, you need to split up your Vapor project into a target called `App`, and a target called `AppLogic`. The App module will only include a `main.swift`, and your `AppLogic` will contain the actual logic for the app.