Skip to content

Commit 342ed21

Browse files
committed
Markdown update
1 parent 7b3f49b commit 342ed21

File tree

2,268 files changed

+1456045
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,268 files changed

+1456045
-12
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,33 @@ Testing SQL compabillity for [AlaSQL](https://github.com/agershun/alasql)
66
How?
77
----
88

9-
Execute run.js in the sqllogic folder. As the output is very big its suggested to direct output to a file
9+
Go get markdown summery run the npm test;
1010

11-
cd sqllogic
12-
node run.js > results.log
11+
npm test
12+
13+
Result will output to results.md
1314

14-
As the testfiles are quite big the garbagecollection can be initiated between the run of each file. To initiate it run node with the --expose-gc flag
15+
To get more details execute `run_raw.js` in the sqllogic folder. As the output is very big its suggested to direct output to a file. As the testfiles are quite big the garbagecollection can be initiated between the run of each file. To initiate this run node with the --expose-gc flag
1516

16-
node --expose-gc run > results.log
17+
cd sqllogic
18+
node --expose-gc run_raw > results.log
1719

1820

1921
What?
2022
-----
2123

22-
The output is the output of each test file followed by the total score. (so you can keep track on overall % of passed tests why its running)
24+
The output of `run_raw.js` is the output of each test file followed by the total score. (so you can keep track on overall % of passed tests why its running)
2325

2426
There are about 2 million tests in the full test suite. Many of the tests will trigger the same kind of error - this is why the output will only print the same error the first time it comes forward. To have more examples it will randomly print errors even if it has been printes before. You can also choose to print all errors. Please see the config section in the run.js file.
2527

2628
Please note that the current version of the script **ONLY TESTS IF THE SQL CAN COMPILE** - not if the returned values are correct.
2729

30+
To make sure you are testing the lates stable release please run the following:
31+
32+
cd sqllogic && npm install alasql
33+
34+
Please see the config section of the `run` files to run tests on local version instead of npm version.
35+
2836

2937

3038
Why?
@@ -45,8 +53,9 @@ ToDo
4553

4654
- Verify that the parser parses all the tests (ongoing development in the sqllogivtestparserV2.js)
4755
- Implement verification of returned results.
48-
- Impelment mocha testframework
4956

57+
**Not ToDo**
58+
- Impelment mocha testframework (testresults does not get printed before all are done - so fills the memory)
5059

5160

5261
Output

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "alasql-logictest",
3+
"version": "0.0.1",
4+
"description": "sqllogictest of AlaSQL",
5+
"main": "sqllogic/run_raw.js",
6+
"scripts": {
7+
"test": "cd sqllogic && node --expose-gc run_md.js > ../results.md"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/mathiasrw/alasql-logictest"
12+
},
13+
"keywords": [
14+
"sql",
15+
"test"
16+
],
17+
"author": "Mathias Rangel Wulff",
18+
"license": "MIT",
19+
"bugs": {
20+
"url": "https://github.com/mathiasrw/alasql-logictest/issues"
21+
},
22+
"homepage": "https://github.com/mathiasrw/alasql-logictest"
23+
}

results.md

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# SQLlogic test results for AlaSQL 0.1.9
2+
3+
_2015-06-26T18:41:02.949Z_
4+
5+
Results from 622 test files.
6+
7+
-----------------------------
8+
### 10/622 `test/evidence/in1.test`
9+
10+
#### ✔ Ran 0 tests
11+
12+
* 0 failed
13+
* 0% was OK
14+
15+
Time: 14ms
16+
17+
-----------------------------
18+
### 11/622 `test/evidence/in2.test`
19+
20+
#### ✔ Ran 50 tests
21+
22+
* 0 failed
23+
* 100% was OK
24+
25+
Time: 65ms
26+
27+
-----------------------------
28+
### 12/622 `test/evidence/slt_lang_aggfunc.test`
29+
30+
#### ✔ Ran 5 tests
31+
32+
* 0 failed
33+
* 100% was OK
34+
35+
Time: 8ms
36+
37+
-----------------------------
38+
### 13/622 `test/evidence/slt_lang_createtrigger.test`
39+
40+
#### ✔ Ran 5 tests
41+
42+
* 0 failed
43+
* 100% was OK
44+
45+
Time: 6ms
46+
47+
-----------------------------
48+
### 14/622 `test/evidence/slt_lang_createview.test`
49+
50+
#### ✔ Ran 15 tests
51+
52+
* 0 failed
53+
* 100% was OK
54+
55+
Time: 12ms
56+
57+
-----------------------------
58+
### 15/622 `test/evidence/slt_lang_dropindex.test`
59+
60+
#### ✔ Ran 6 tests
61+
62+
* 0 failed
63+
* 100% was OK
64+
65+
Time: 5ms
66+
67+
-----------------------------
68+
### 16/622 `test/evidence/slt_lang_droptable.test`
69+
70+
#### ✔ Ran 9 tests
71+
72+
* 0 failed
73+
* 100% was OK
74+
75+
Time: 13ms
76+
77+
-----------------------------
78+
### 17/622 `test/evidence/slt_lang_droptrigger.test`
79+
80+
#### ✔ Ran 5 tests
81+
82+
* 0 failed
83+
* 100% was OK
84+
85+
Time: 11ms
86+
87+
-----------------------------
88+
### 18/622 `test/evidence/slt_lang_dropview.test`
89+
90+
#### ✔ Ran 11 tests
91+
92+
* 0 failed
93+
* 100% was OK
94+
95+
Time: 12ms
96+
97+
-----------------------------
98+
### 19/622 `test/evidence/slt_lang_reindex.test`
99+
100+
#### ✔ Ran 5 tests
101+
102+
* 0 failed
103+
* 100% was OK
104+
105+
Time: 4ms
106+
107+
-----------------------------
108+
### 110/622 `test/evidence/slt_lang_replace.test`
109+
110+
#### ✔ Ran 0 tests
111+
112+
* 0 failed
113+
* 0% was OK
114+
115+
Time: 3ms
116+
117+
-----------------------------
118+
### 111/622 `test/evidence/slt_lang_update.test`
119+
120+
#### ✔ Ran 25 tests
121+
122+
* 0 failed
123+
* 100% was OK
124+
125+
Time: 21ms
126+
127+
-----------------------------
128+
### 112/622 `test/index/between/1/slt_good_0.test`
129+

sqllogic/alasql.js

Lines changed: 12652 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqllogic/node_modules/.bin/alacon

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqllogic/node_modules/.bin/alaserver

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqllogic/node_modules/alasql/.bithoundrc

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqllogic/node_modules/alasql/.bower.json

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqllogic/node_modules/alasql/.gitattributes

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqllogic/node_modules/alasql/.npmignore

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)