Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Missing/Empty LinuxMain.swift #57

Closed
AxelCB opened this issue Jun 14, 2018 · 2 comments
Closed

Missing/Empty LinuxMain.swift #57

AxelCB opened this issue Jun 14, 2018 · 2 comments

Comments

@AxelCB
Copy link

AxelCB commented Jun 14, 2018

The LinuxMain.swift inside Tests folder is empty . Even for the "testNothing" example, it is useful to have an example on what this file should look like, since it is a little misleading seeing it empty (one assumes it should be this way).

Options I know of would be either using swift test --generate-linuxmain or creating the file based on the same file from branch vapor-2 or vapor-til's example

@retendo
Copy link

retendo commented Sep 20, 2018

I just added the following to LinuxMain.swift, which would reflect the content of AppTests.swift

import XCTest
@testable import AppTests

XCTMain([testCase(AppTests.allTests)])

Maybe that helps someone who is looking for a quickfix

@0xTim
Copy link
Member

0xTim commented Jan 31, 2019

Closing due to inactivity - feel free to reopen!

@0xTim 0xTim closed this as completed Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants