seimin 7cefe6c076 初始化 vor 6 Monaten
..
data 7cefe6c076 初始化 vor 6 Monaten
lib 7cefe6c076 初始化 vor 6 Monaten
ut 7cefe6c076 初始化 vor 6 Monaten
-primary-cases.html 7cefe6c076 初始化 vor 6 Monaten
README.md 7cefe6c076 初始化 vor 6 Monaten
allZero.html 7cefe6c076 初始化 vor 6 Monaten
area.html 7cefe6c076 初始化 vor 6 Monaten
area2.html 7cefe6c076 初始化 vor 6 Monaten
areaLineUpdate.html 7cefe6c076 初始化 vor 6 Monaten
axes.html 7cefe6c076 初始化 vor 6 Monaten
axis-extrema.html 7cefe6c076 初始化 vor 6 Monaten
axis.html 7cefe6c076 初始化 vor 6 Monaten
bar-large.html 7cefe6c076 初始化 vor 6 Monaten
bar.html 7cefe6c076 初始化 vor 6 Monaten
bar2.html 7cefe6c076 初始化 vor 6 Monaten
bar3.html 7cefe6c076 初始化 vor 6 Monaten
bmap.html 7cefe6c076 初始化 vor 6 Monaten
boxplot-multi.html 7cefe6c076 初始化 vor 6 Monaten
boxplot.html 7cefe6c076 初始化 vor 6 Monaten
brush.html 7cefe6c076 初始化 vor 6 Monaten
brush2.html 7cefe6c076 初始化 vor 6 Monaten
candlestick.html 7cefe6c076 初始化 vor 6 Monaten
candlestickConnect.html 7cefe6c076 初始化 vor 6 Monaten
chord.html 7cefe6c076 初始化 vor 6 Monaten
color-mix-aqi.html 7cefe6c076 初始化 vor 6 Monaten
config.js 7cefe6c076 初始化 vor 6 Monaten
connect-manually.html 7cefe6c076 初始化 vor 6 Monaten
connect.html 7cefe6c076 初始化 vor 6 Monaten
connect2.html 7cefe6c076 初始化 vor 6 Monaten
css-transform.html 7cefe6c076 初始化 vor 6 Monaten
dataView.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-axes.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-axis-type.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-cartesian-h.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-cartesian-v.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-dataShadow.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-dataShadow0.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-dataShadow1.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-dataShadow2.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-dynamic.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-geo.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-rainfall-connect.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-rainfall-inside.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-rainfall.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-scatter-category.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-scatter-hv-polar.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-scatter-hv.html 7cefe6c076 初始化 vor 6 Monaten
dataZoom-scatter-toolbox.html 7cefe6c076 初始化 vor 6 Monaten
dataZoomHighPrecision.html 7cefe6c076 初始化 vor 6 Monaten
diff.html 7cefe6c076 初始化 vor 6 Monaten
dynamicData.html 7cefe6c076 初始化 vor 6 Monaten
dynamicData2.html 7cefe6c076 初始化 vor 6 Monaten
dynamicData3.html 7cefe6c076 初始化 vor 6 Monaten
effectScatter.html 7cefe6c076 初始化 vor 6 Monaten
esl.js 7cefe6c076 初始化 vor 6 Monaten
force.html 7cefe6c076 初始化 vor 6 Monaten
force2.html 7cefe6c076 初始化 vor 6 Monaten
force3.html 7cefe6c076 初始化 vor 6 Monaten
funnel.html 7cefe6c076 初始化 vor 6 Monaten
gauge.html 7cefe6c076 初始化 vor 6 Monaten
geo-map.html 7cefe6c076 初始化 vor 6 Monaten
geoLine.html 7cefe6c076 初始化 vor 6 Monaten
geoScatter.html 7cefe6c076 初始化 vor 6 Monaten
getOption.html 7cefe6c076 初始化 vor 6 Monaten
graph-grid.html 7cefe6c076 初始化 vor 6 Monaten
graph-simple.html 7cefe6c076 初始化 vor 6 Monaten
graph.html 7cefe6c076 初始化 vor 6 Monaten
graphicOption.html 7cefe6c076 初始化 vor 6 Monaten
heatmap-large.html 7cefe6c076 初始化 vor 6 Monaten
heatmap-map.html 7cefe6c076 初始化 vor 6 Monaten
heatmap.html 7cefe6c076 初始化 vor 6 Monaten
ie8.html 7cefe6c076 初始化 vor 6 Monaten
largeLine.html 7cefe6c076 初始化 vor 6 Monaten
lazyUpdate.html 7cefe6c076 初始化 vor 6 Monaten
line-visual.html 7cefe6c076 初始化 vor 6 Monaten
line.html 7cefe6c076 初始化 vor 6 Monaten
lines-bus.html 7cefe6c076 初始化 vor 6 Monaten
lines-symbol.html 7cefe6c076 初始化 vor 6 Monaten
lines-track.html 7cefe6c076 初始化 vor 6 Monaten
loading.html 7cefe6c076 初始化 vor 6 Monaten
logScale.html 7cefe6c076 初始化 vor 6 Monaten
map-contour.html 7cefe6c076 初始化 vor 6 Monaten
map-parallel.html 7cefe6c076 初始化 vor 6 Monaten
map.html 7cefe6c076 初始化 vor 6 Monaten
mapWorld.html 7cefe6c076 初始化 vor 6 Monaten
markArea.html 7cefe6c076 初始化 vor 6 Monaten
markLine.html 7cefe6c076 初始化 vor 6 Monaten
markPoint.html 7cefe6c076 初始化 vor 6 Monaten
masterPainterColorChoice.html 7cefe6c076 初始化 vor 6 Monaten
media-dataZoom.html 7cefe6c076 初始化 vor 6 Monaten
media-finance.html 7cefe6c076 初始化 vor 6 Monaten
media-pie.html 7cefe6c076 初始化 vor 6 Monaten
mix.html 7cefe6c076 初始化 vor 6 Monaten
mobileBench.html 7cefe6c076 初始化 vor 6 Monaten
multipleGrid.html 7cefe6c076 初始化 vor 6 Monaten
parallel-aqi.html 7cefe6c076 初始化 vor 6 Monaten
parallel-nutrients.html 7cefe6c076 初始化 vor 6 Monaten
pictorial-repeat.html 7cefe6c076 初始化 vor 6 Monaten
pictorial-single.html 7cefe6c076 初始化 vor 6 Monaten
pie-calculable.html 7cefe6c076 初始化 vor 6 Monaten
pie.html 7cefe6c076 初始化 vor 6 Monaten
pie2.html 7cefe6c076 初始化 vor 6 Monaten
pie3.html 7cefe6c076 初始化 vor 6 Monaten
pieDynamic.html 7cefe6c076 初始化 vor 6 Monaten
polarLine.html 7cefe6c076 初始化 vor 6 Monaten
polarLine2.html 7cefe6c076 初始化 vor 6 Monaten
polarScatter.html 7cefe6c076 初始化 vor 6 Monaten
punchCard.html 7cefe6c076 初始化 vor 6 Monaten
radar.html 7cefe6c076 初始化 vor 6 Monaten
radar2.html 7cefe6c076 初始化 vor 6 Monaten
radar3.html 7cefe6c076 初始化 vor 6 Monaten
radar4.html 7cefe6c076 初始化 vor 6 Monaten
reset.css 7cefe6c076 初始化 vor 6 Monaten
roseType.html 7cefe6c076 初始化 vor 6 Monaten
sankey.html 7cefe6c076 初始化 vor 6 Monaten
scale-integer.html 7cefe6c076 初始化 vor 6 Monaten
scatter-single-axis.html 7cefe6c076 初始化 vor 6 Monaten
scatter.html 7cefe6c076 初始化 vor 6 Monaten
scatterMatrix.html 7cefe6c076 初始化 vor 6 Monaten
selectedMode.html 7cefe6c076 初始化 vor 6 Monaten
showTip.html 7cefe6c076 初始化 vor 6 Monaten
singleAxisScales.html 7cefe6c076 初始化 vor 6 Monaten
symbol.html 7cefe6c076 初始化 vor 6 Monaten
theme.html 7cefe6c076 初始化 vor 6 Monaten
themeRiver.html 7cefe6c076 初始化 vor 6 Monaten
themeRiver2.html 7cefe6c076 初始化 vor 6 Monaten
timeScale.html 7cefe6c076 初始化 vor 6 Monaten
timeline-finance.html 7cefe6c076 初始化 vor 6 Monaten
timeline-layout.html 7cefe6c076 初始化 vor 6 Monaten
tooltip.html 7cefe6c076 初始化 vor 6 Monaten
touch-slide.html 7cefe6c076 初始化 vor 6 Monaten
touch-test.html 7cefe6c076 初始化 vor 6 Monaten
touch-tooltip.html 7cefe6c076 初始化 vor 6 Monaten
treemap-disk.html 7cefe6c076 初始化 vor 6 Monaten
treemap-obama.html 7cefe6c076 初始化 vor 6 Monaten
treemap-option.html 7cefe6c076 初始化 vor 6 Monaten
treemap-option2.html 7cefe6c076 初始化 vor 6 Monaten
treemap-simple.html 7cefe6c076 初始化 vor 6 Monaten
treemap-visual.html 7cefe6c076 初始化 vor 6 Monaten
visualMap-categories.html 7cefe6c076 初始化 vor 6 Monaten
visualMap-continuous.html 7cefe6c076 初始化 vor 6 Monaten
visualMap-layout.html 7cefe6c076 初始化 vor 6 Monaten
visualMap-opacity.html 7cefe6c076 初始化 vor 6 Monaten
visualMap-pieces.html 7cefe6c076 初始化 vor 6 Monaten
visualMap-scatter-colorAndSymbol.html 7cefe6c076 初始化 vor 6 Monaten
visualMap-scatter-symbolSize.html 7cefe6c076 初始化 vor 6 Monaten
webkit-dep.html 7cefe6c076 初始化 vor 6 Monaten
worldPopulationBubble.html 7cefe6c076 初始化 vor 6 Monaten

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.