tests/

directory
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2021 License: MIT

README

Examples: Tests

The examples in this folder are used for testing.

Test Description
Alias Uses an alias import (for a copied struct).
Cyclic Uses a nested struct (containing a field of the same type).

Integration

The Command Line Interface and Generator (with templates) either work or don't work. The config uses a tested library. The matcher serves it purpose (matching fields to other fields) and is only effected by external options. For this reason, the majority of the edge cases this program encounters are located in the parser. In contrast, the parser is the most likely to change (as it is based on the UI). Integration tests are used in order to allow the parser to change without invalidating its tests.

Directories

Path Synopsis
Package copygen contains the setup information for copygen generated code.
Package copygen contains the setup information for copygen generated code.
setup
Package copygen contains the setup information for copygen generated code.
Package copygen contains the setup information for copygen generated code.
Package copygen contains the setup information for copygen generated code.
Package copygen contains the setup information for copygen generated code.
domain
Package domain contains business logic models.
Package domain contains business logic models.
models
Package models contains data storage models (i.e database).
Package models contains data storage models (i.e database).
setup
Package copygen contains the setup information for copygen generated code.
Package copygen contains the setup information for copygen generated code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL