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

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.