Help us shape the future of Go! Take the 2026 Go Developer Survey

testproject

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package testproject builds the small projects lfm's tests compile: one per deliverable, and bundles of them, each in a fresh temp directory. Only tests import it.

Index

Constants

View Source
const (
	BookPath      = "q7w2k9m4x8c3v6b1n5zt"
	PrintablePath = "p7m2x9q4w8e3r6t5y1u0"
	SheetPath     = "x7m2x9q4w8e3r6t5y1u0"
	DocPath       = "k3n8q2w7x5r9t4m6p1"
	DeckPath      = "q7w2e9r4t1y8u3i6o5"
	BundlePath    = "b7m2x9q4w8e3r6t5y1u0"
)

The unlisted download paths of the deliverables.

View Source
const BookConcept = `` /* 1147-byte string literal not displayed */

BookConcept plans a three-chapter book.

Variables

This section is empty.

Functions

func Book

func Book(t testing.TB) string

Book is a project selling a written three-chapter book, without a listing.

func BookPrintableBundle

func BookPrintableBundle(t testing.TB) string

BookPrintableBundle is the book and the maze pack sold together as one bundle, the printable only in it.

func Configure

func Configure(t testing.TB, dir string, edit func(map[string]any))

Configure edits lfm.json.

func CopyTree

func CopyTree(src, dst string)

CopyTree copies the files under src to dst.

func Deck

func Deck(t testing.TB) string

Deck is a project selling a fire safety briefing in English and German.

func DeckDocumentBundle

func DeckDocumentBundle(t testing.TB) string

DeckDocumentBundle is the deck with the club's documents as its handouts, both sold only in one bundle.

func Document

func Document(t testing.TB) string

Document is a project selling an allotment society's document kit.

func Example

func Example() string

Example is the example project in the repository's testdata.

func Internal

func Internal() string

Internal is the repository's internal/ directory, where the deliverables' testdata live, wherever the test runs from.

func Printable

func Printable(t testing.TB) string

Printable is a project selling a two-maze pack in A4 and Letter.

func Spreadsheet

func Spreadsheet(t testing.TB) string

Spreadsheet is a project selling a paycheck budget workbook.

func WritePrintable

func WritePrintable(t testing.TB, dir string)

WritePrintable adds a small maze pack in deliverables/printable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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