gentelella/vendors/echarts/test
christianesperar 89d7f6df20 Update libraries 2016-06-03 00:08:25 +08:00
..
data Update libraries 2016-06-03 00:08:25 +08:00
lib Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
ut Update libraries 2016-06-03 00:08:25 +08:00
README.md Update libraries 2016-06-03 00:08:25 +08:00
area.html Update libraries 2016-06-03 00:08:25 +08:00
area2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
axes.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
axis.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
bar-large.html Update libraries 2016-06-03 00:08:25 +08:00
bar.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
bar2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
bmap.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
boxplot-multi.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
boxplot.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
candlestick.html Update libraries 2016-06-03 00:08:25 +08:00
candlestickConnect.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
chord.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
color-mix-aqi.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
config.js Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
connect.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
connect2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataView.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-axes.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-axis-type.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-cartesian-h.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-cartesian-v.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-dataShadow.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-dataShadow0.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-dataShadow1.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-dataShadow2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-dynamic.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-rainfall-connect.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-rainfall-inside.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-rainfall.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-scatter-category.html Update libraries 2016-06-03 00:08:25 +08:00
dataZoom-scatter-hv-polar.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-scatter-hv.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoom-scatter-toolbox.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dataZoomHighPrecision.html Update libraries 2016-06-03 00:08:25 +08:00
diff.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
dynamicData.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
effectScatter.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
esl.js Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
force.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
force2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
force3.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
funnel.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
gauge.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
geoLine.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
geoScatter.html Update libraries 2016-06-03 00:08:25 +08:00
getOption.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
graph-grid.html Update libraries 2016-06-03 00:08:25 +08:00
graph-simple.html Update libraries 2016-06-03 00:08:25 +08:00
graph.html Update libraries 2016-06-03 00:08:25 +08:00
heatmap-map.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
heatmap.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
ie8.html Update libraries 2016-06-03 00:08:25 +08:00
largeLine.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
line.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
loading.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
logScale.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
map-contour.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
map.html Update libraries 2016-06-03 00:08:25 +08:00
mapWorld.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
markLine.html Update libraries 2016-06-03 00:08:25 +08:00
markPoint.html Update libraries 2016-06-03 00:08:25 +08:00
masterPainterColorChoice.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
media-dataZoom.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
media-finance.html Update libraries 2016-06-03 00:08:25 +08:00
media-pie.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
mix.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
mobileBench.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
multipleGrid.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
parallel-aqi.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
pie.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
pie2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
pie3.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
pieDynamic.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
polarLine.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
polarLine2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
polarScatter.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
punchCard.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
radar.html Update libraries 2016-06-03 00:08:25 +08:00
radar2.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
radar3.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
radar4.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
reset.css Update libraries 2016-06-03 00:08:25 +08:00
roseType.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
sankey.html Update libraries 2016-06-03 00:08:25 +08:00
scale-integer.html Update libraries 2016-06-03 00:08:25 +08:00
scatter.html Update libraries 2016-06-03 00:08:25 +08:00
selectedMode.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
showTip.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
symbol.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
theme.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
themeRiver.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
timeScale.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
timeline-finance.html Update libraries 2016-06-03 00:08:25 +08:00
timeline-layout.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
tooltip.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
treemap-disk.html Update libraries 2016-06-03 00:08:25 +08:00
treemap-obama.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
treemap-option.html Update libraries 2016-06-03 00:08:25 +08:00
treemap-option2.html Update libraries 2016-06-03 00:08:25 +08:00
treemap-simple.html Update libraries 2016-06-03 00:08:25 +08:00
visualMap-categories.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
visualMap-continuous.html Update libraries 2016-06-03 00:08:25 +08:00
visualMap-layout.html Update libraries 2016-06-03 00:08:25 +08:00
visualMap-opacity.html Update libraries 2016-06-03 00:08:25 +08:00
visualMap-pieces.html Update libraries 2016-06-03 00:08:25 +08:00
visualMap-scatter-colorAndSymbol.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
visualMap-scatter-symbolSize.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
webkit-dep.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00
worldPopulationBubble.html Put dependecy libraries to bower for easy updating 2016-04-24 22:26:16 +08:00

README.md

Test Guide

Functional Test

Open ./*.html files in Web Browsers.

Unit Test

Rendering-relevant

Our test strategy is to compare the rendered canvas of current version with last release version. The comparison can either based on the content of rendered canvas, or the stack of canvas operations.

When a test case fails, it doesn't necessary to be a bug since the rendering method may be changed intentionally in a commit. So in this case, we output the rendering result of both versions and the diff result.

Make sure ../dist/echarts.js is the built based on current source files by:

cd ../build
npm install
bash build.sh

By default, we compare current version with last release version. To run the test, you should first download last release using:

cd ../test/ut
./configure

which will download echart.js of last release into ./ut/tmp/oldEcharts.js.

Then, open ./ut/ui.html in Web Browsers.

Compare current with a specific release

If one argument is passed, we take it as the hash code of a release and compare current version with /dist/echarts.js of the that version.

# this compares current `/dist/echarts.js` with that of v3.1.6
./configure 3724a16

Compare arbitrary two commits

Since /dist/echarts.js is only the build result of release versions, to compare arbitrary versions, you need to checkout specific commits and build the source files. Put the build results as ./tmp/oldEcharts.js and ./tmp/newEcharts.js will work.

Rendering-irrelevant

Open ./ut.html files in Web Browsers.