_tests/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: GPL-3.0, MIT-0

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 Tests

The command line interface is straightforward. The loader uses a tested library. The matcher matches fields to other fields, which the generator depends on. Field-matching is heavily dependent on the parser, which provides the User Interface for end users (developers). As a result, the parser contains the majority of edge cases this program encounters. Testing the entire program from end-to-end is more effective than unit tests for each package.

Run integration tests using go test ./examples/_tests from /copygen.

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.
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.
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