e2egen

command
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package main provides a generator for E2E test cases.

e2egen generates a new testcase stub from execution result. e2egen accepts following args.

e2egen <file> <Evans flags>

file is the source code of REPL E2E test. Updated code is written to it. Evans flags are options of Evans.

First, e2egen tries to read source code from file. Second, e2egen launches Evans with Evans flags. In this time, e2egen records all input from the prompt internally. Third, e2egen generates updated source code that appended the new testcase.

Jump to

Keyboard shortcuts

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