conduit documentand use one of the many open-source tools for generating client data model types.
conduit_testpackage has classes and methods for initializing and running an application for testing, making requests to that application, and verifying the responses. There is value to using tools like Postman or CURL to test proof of concept code, but the
conduit_testpackage is geared specifically for replacing these tools while retaining automated tests as the project grows.
bin/directory that imports your project. Use this file as a scratchpad to test exploratory code before committing to a test suite. Don't check this file into source control.
conduit createto create applications with the appropriate structure and boilerplate. There are templates for different kinds of applications; view these templates with
conduit create list-templates.
mainfunction (which includes test suites) and select
Debugoption. Use breakpoints (by clicking on the gutter area to the left of the text editing area) to stop execution at a particular line before it is executed.
entryPointand only pass the services the controller will use.
StreamControllerwhen it only needs
ApplicationChannelshould handle initialization, routing and nothing more. Consider moving non-initialization behavior into a service object in a separate file.
AuthCodeare all related because they deal with authentication and authorization. Methods are named consistently across classes (e.g,
asMapis a common method name).