Skip to content
EROUI Abdelaziz edited this page Jan 14, 2021 · 1 revision

egor case <--no-output?>

egor case allow you to add custom cases to the current egor task. It will ask you to provide the input followed but a ctrl + D (Or command + D for mac users) and then to provide the output for the input you just provided followed by a ctrl + D.

The command can take some optional flags:

  • --no-output: This flag can be used to tell egor if this is a custom test without known output. If this is provided you will not be asked to provide the output after providing the input.

Usage examples

$ egor case
Creating Custom Test Case...
Provide your input:
1
3
1 2 3
Provide your output:
6
Created Custom Test Case
$ egor case --no-output
Creating Custom Test Case...
Provide your input:
1
3
4 5 6
Created Custom Test Case
Clone this wiki locally