Add an E2E test suite

This commit is contained in:
2021-11-29 00:33:23 +01:00
parent f02a0fc17a
commit d0b78686e2
11 changed files with 1596 additions and 1 deletions

13
e2e_tests/test_basic.py Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
from helpers import *
def test_invalid_command():
cmd = grm(["whatever"], is_invalid=True)
assert "USAGE" in cmd.stderr
def test_help():
cmd = grm(["--help"])
assert "USAGE" in cmd.stdout