We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 623176d commit 629943aCopy full SHA for 629943a
test_main.py
@@ -115,3 +115,18 @@ def test_interpreter(name: str, output: str):
115
def test_interpreter_return():
116
result = runner.invoke(app, ["run", "tests/interpreter/return.txt"])
117
assert result.exit_code == 1
118
+
119
120
+@pytest.mark.parametrize(
121
+ "name",
122
+ [
123
+ "parser/input_1.txt",
124
+ "parser/input_2.txt",
125
+ "ast/input_1.txt",
126
+ "ast/input_2.txt",
127
+ "ast/input_3.txt",
128
+ ],
129
+)
130
+def test_all_on_previous_tests(name: str): # run interpreter on parser tests and AST tests
131
+ result = runner.invoke(app, ["run", f"tests/{name}"])
132
+ assert result.exit_code == 0
0 commit comments