summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Tests/how_to_run_tests
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/Tests/how_to_run_tests')
-rw-r--r--Sencha-lang/Tests/how_to_run_tests40
1 files changed, 40 insertions, 0 deletions
diff --git a/Sencha-lang/Tests/how_to_run_tests b/Sencha-lang/Tests/how_to_run_tests
new file mode 100644
index 0000000..91f27c2
--- /dev/null
+++ b/Sencha-lang/Tests/how_to_run_tests
@@ -0,0 +1,40 @@
+It's simple.
+
+Go to the terminal.
+Find SenchaLang exectuive file. Run it with --test.
+
+When I just did it, I got such output:
+"""
+I'm running tests
+
+Testing lexer...
+
+ALL TESTS PASSED
+5 TESTS PASSED
+0 TESTS FAILED
+ALL TESTS: 5
+
+Testing ASTInspector...
+
+ALL TESTS PASSED
+2 TESTS PASSED
+0 TESTS FAILED
+ALL TESTS: 2
+
+Testing parser...
+
+ALL TESTS PASSED
+4 TESTS PASSED
+0 TESTS FAILED
+ALL TESTS: 4
+
+Testing standard library...
+
+SOME TESTS DIDN'T PASS
+in test_string_lib: Write this test
+
+
+0 TESTS PASSED
+1 TESTS FAILED
+ALL TESTS: 1
+""" \ No newline at end of file