Framework
VaporTesting
VaporTesting is a set of utilities to make writing unit tests for Vapor applications easy.
Overview
For more details, check out the testing documentation.
Topics
Protocols
Functions
expectContains(_:_:fileID:filePath:line:column:)expectContent(_:_:fileID:filePath:line:column:_:)expectJSONEquals(_:_:fileID:filePath:line:column:)withApp(_:)Perform a test while handling lifecycle of the application. Feel free to create a custom function like this, tailored to your project.withApp(configure:_:)Perform a test while handling lifecycle of the application. Feel free to create a custom function like this, tailored to your project.