mead ae6720456d init 1 rok temu
..
build ae6720456d init 1 rok temu
data ae6720456d init 1 rok temu
lib ae6720456d init 1 rok temu
node ae6720456d init 1 rok temu
ut ae6720456d init 1 rok temu
-cases.html ae6720456d init 1 rok temu
-cases.js ae6720456d init 1 rok temu
-primary-cases.html ae6720456d init 1 rok temu
-stream-cases.html ae6720456d init 1 rok temu
README.md ae6720456d init 1 rok temu
allZero.html ae6720456d init 1 rok temu
area-large.html ae6720456d init 1 rok temu
area.html ae6720456d init 1 rok temu
area2.html ae6720456d init 1 rok temu
areaLineUpdate.html ae6720456d init 1 rok temu
aria-line-bar.html ae6720456d init 1 rok temu
aria-pie.html ae6720456d init 1 rok temu
axes.html ae6720456d init 1 rok temu
axis-arrow.html ae6720456d init 1 rok temu
axis-boundaryGap.html ae6720456d init 1 rok temu
axis-extrema.html ae6720456d init 1 rok temu
axis-interval.html ae6720456d init 1 rok temu
axis-lastLabel.html ae6720456d init 1 rok temu
axis.html ae6720456d init 1 rok temu
axisLabel.html ae6720456d init 1 rok temu
axisPosition.html ae6720456d init 1 rok temu
bar-label-rotation.html ae6720456d init 1 rok temu
bar-large.html ae6720456d init 1 rok temu
bar-overflow-time-plot.html ae6720456d init 1 rok temu
bar-polar-basic-radial.html ae6720456d init 1 rok temu
bar-polar-basic.html ae6720456d init 1 rok temu
bar-polar-multi-series-radial.html ae6720456d init 1 rok temu
bar-polar-multi-series.html ae6720456d init 1 rok temu
bar-polar-null-data-radial.html ae6720456d init 1 rok temu
bar-polar-null-data.html ae6720456d init 1 rok temu
bar-polar-real-estate.html ae6720456d init 1 rok temu
bar-polar-stack.html ae6720456d init 1 rok temu
bar-t.html ae6720456d init 1 rok temu
bar.html ae6720456d init 1 rok temu
bar2.html ae6720456d init 1 rok temu
bar3.html ae6720456d init 1 rok temu
bmap.html ae6720456d init 1 rok temu
boxplot-multi.html ae6720456d init 1 rok temu
boxplot.html ae6720456d init 1 rok temu
brush.html ae6720456d init 1 rok temu
brush2.html ae6720456d init 1 rok temu
calendar-converter.html ae6720456d init 1 rok temu
calendar-effectScater.html ae6720456d init 1 rok temu
calendar-graph.html ae6720456d init 1 rok temu
calendar-heatmap.html ae6720456d init 1 rok temu
calendar-month.html ae6720456d init 1 rok temu
calendar-more.html ae6720456d init 1 rok temu
calendar-orient.html ae6720456d init 1 rok temu
calendar-range.html ae6720456d init 1 rok temu
calendar-scatter.html ae6720456d init 1 rok temu
calendar-simple.html ae6720456d init 1 rok temu
calendar-size.html ae6720456d init 1 rok temu
calendar-split.html ae6720456d init 1 rok temu
calendar-type.html ae6720456d init 1 rok temu
calendar-vertical.html ae6720456d init 1 rok temu
calendar-week.html ae6720456d init 1 rok temu
calendar-year.html ae6720456d init 1 rok temu
calendar.html ae6720456d init 1 rok temu
candlestick-doji.html ae6720456d init 1 rok temu
candlestick-empty.html ae6720456d init 1 rok temu
candlestick.html ae6720456d init 1 rok temu
candlestickConnect.html ae6720456d init 1 rok temu
canvas-replay.html ae6720456d init 1 rok temu
chord.html ae6720456d init 1 rok temu
circle-packing-with-d3.html ae6720456d init 1 rok temu
color-mix-aqi.html ae6720456d init 1 rok temu
connect-dynamic.html ae6720456d init 1 rok temu
connect-manually.html ae6720456d init 1 rok temu
connect.html ae6720456d init 1 rok temu
connect2.html ae6720456d init 1 rok temu
css-transform.html ae6720456d init 1 rok temu
custom-bmap-grid.html ae6720456d init 1 rok temu
custom-bmap-polygon.html ae6720456d init 1 rok temu
custom-children-remove.html ae6720456d init 1 rok temu
custom-hexbin.html ae6720456d init 1 rok temu
custom.html ae6720456d init 1 rok temu
dataView.html ae6720456d init 1 rok temu
dataZoom-action.html ae6720456d init 1 rok temu
dataZoom-axes.html ae6720456d init 1 rok temu
dataZoom-axis-type.html ae6720456d init 1 rok temu
dataZoom-cartesian-h.html ae6720456d init 1 rok temu
dataZoom-cartesian-v.html ae6720456d init 1 rok temu
dataZoom-dataShadow.html ae6720456d init 1 rok temu
dataZoom-dataShadow0.html ae6720456d init 1 rok temu
dataZoom-dataShadow1.html ae6720456d init 1 rok temu
dataZoom-dataShadow2.html ae6720456d init 1 rok temu
dataZoom-dynamic.html ae6720456d init 1 rok temu
dataZoom-geo.html ae6720456d init 1 rok temu
dataZoom-rainfall-connect.html ae6720456d init 1 rok temu
dataZoom-rainfall-inside.html ae6720456d init 1 rok temu
dataZoom-rainfall.html ae6720456d init 1 rok temu
dataZoom-scatter-category.html ae6720456d init 1 rok temu
dataZoom-scatter-hv-polar.html ae6720456d init 1 rok temu
dataZoom-scatter-hv.html ae6720456d init 1 rok temu
dataZoom-sync.html ae6720456d init 1 rok temu
dataZoom-toolbox.html ae6720456d init 1 rok temu
dataZoomHighPrecision.html ae6720456d init 1 rok temu
dataset-category.html ae6720456d init 1 rok temu
dataset-charts.html ae6720456d init 1 rok temu
dataset-layout.html ae6720456d init 1 rok temu
dataset-pivot.html ae6720456d init 1 rok temu
diff.html ae6720456d init 1 rok temu
dynamicData.html ae6720456d init 1 rok temu
dynamicData2.html ae6720456d init 1 rok temu
dynamicData3.html ae6720456d init 1 rok temu
effectScatter.html ae6720456d init 1 rok temu
encode.html ae6720456d init 1 rok temu
force-case.html ae6720456d init 1 rok temu
force.html ae6720456d init 1 rok temu
force2.html ae6720456d init 1 rok temu
force3.html ae6720456d init 1 rok temu
funnel.html ae6720456d init 1 rok temu
gauge.html ae6720456d init 1 rok temu
geo-data-stream.html ae6720456d init 1 rok temu
geo-lines.html ae6720456d init 1 rok temu
geo-map.html ae6720456d init 1 rok temu
geo-random-stream.html ae6720456d init 1 rok temu
geoLine.html ae6720456d init 1 rok temu
geoScatter.html ae6720456d init 1 rok temu
getOption.html ae6720456d init 1 rok temu
graph-grid-life.html ae6720456d init 1 rok temu
graph-grid.html ae6720456d init 1 rok temu
graph-simple.html ae6720456d init 1 rok temu
graph.html ae6720456d init 1 rok temu
graphicOption.html ae6720456d init 1 rok temu
graphicRemove.html ae6720456d init 1 rok temu
gridSimple.html ae6720456d init 1 rok temu
heatmap-large.html ae6720456d init 1 rok temu
heatmap-map.html ae6720456d init 1 rok temu
heatmap.html ae6720456d init 1 rok temu
homepage3.html ae6720456d init 1 rok temu
homepage3.js ae6720456d init 1 rok temu
ie11.html ae6720456d init 1 rok temu
ie8.html ae6720456d init 1 rok temu
label-position.html ae6720456d init 1 rok temu
largeLine-tooltip.html ae6720456d init 1 rok temu
largeLine.html ae6720456d init 1 rok temu
largeScatterWithEmpty.html ae6720456d init 1 rok temu
lazyUpdate.html ae6720456d init 1 rok temu
legend.html ae6720456d init 1 rok temu
line-animation.html ae6720456d init 1 rok temu
line-visual.html ae6720456d init 1 rok temu
line.html ae6720456d init 1 rok temu
lines-bus.html ae6720456d init 1 rok temu
lines-flight.html ae6720456d init 1 rok temu
lines-grid.html ae6720456d init 1 rok temu
lines-ny-appendData.html ae6720456d init 1 rok temu
lines-remove.html ae6720456d init 1 rok temu
lines-symbol.html ae6720456d init 1 rok temu
lines-track.html ae6720456d init 1 rok temu
loading.html ae6720456d init 1 rok temu
logScale.html ae6720456d init 1 rok temu
map-contour.html ae6720456d init 1 rok temu
map-default.html ae6720456d init 1 rok temu
map-grid.html ae6720456d init 1 rok temu
map-labels.html ae6720456d init 1 rok temu
map-locate.html ae6720456d init 1 rok temu
map-nested.html ae6720456d init 1 rok temu
map-parallel.html ae6720456d init 1 rok temu
map-province.html ae6720456d init 1 rok temu
map.html ae6720456d init 1 rok temu
mapWorld.html ae6720456d init 1 rok temu
markArea.html ae6720456d init 1 rok temu
markLine.html ae6720456d init 1 rok temu
markPoint.html ae6720456d init 1 rok temu
masterPainterColorChoice.html ae6720456d init 1 rok temu
media-dataZoom.html ae6720456d init 1 rok temu
media-finance.html ae6720456d init 1 rok temu
media-pie.html ae6720456d init 1 rok temu
min-max-function.html ae6720456d init 1 rok temu
mix.html ae6720456d init 1 rok temu
mobileBench.html ae6720456d init 1 rok temu
multipleGrid.html ae6720456d init 1 rok temu
parallel-aqi.html ae6720456d init 1 rok temu
parallel-lineStyle.html ae6720456d init 1 rok temu
parallel-nutrients.html ae6720456d init 1 rok temu
pictorial-repeat.html ae6720456d init 1 rok temu
pictorial-single.html ae6720456d init 1 rok temu
pie-action.html ae6720456d init 1 rok temu
pie-calculable.html ae6720456d init 1 rok temu
pie-digits.html ae6720456d init 1 rok temu
pie.html ae6720456d init 1 rok temu
pie2.html ae6720456d init 1 rok temu
pie3.html ae6720456d init 1 rok temu
pieDynamic.html ae6720456d init 1 rok temu
polarLine.html ae6720456d init 1 rok temu
polarLine2.html ae6720456d init 1 rok temu
polarScatter.html ae6720456d init 1 rok temu
punchCard.html ae6720456d init 1 rok temu
radar.html ae6720456d init 1 rok temu
radar2.html ae6720456d init 1 rok temu
radar3.html ae6720456d init 1 rok temu
radar4.html ae6720456d init 1 rok temu
richText.html ae6720456d init 1 rok temu
roseExtreme.html ae6720456d init 1 rok temu
roseType.html ae6720456d init 1 rok temu
sankey.html ae6720456d init 1 rok temu
scale-integer.html ae6720456d init 1 rok temu
scatter-gps.html ae6720456d init 1 rok temu
scatter-random-stream-fix-axis.html ae6720456d init 1 rok temu
scatter-random-stream.html ae6720456d init 1 rok temu
scatter-single-axis.html ae6720456d init 1 rok temu
scatter-stream-visual.html ae6720456d init 1 rok temu
scatter-weibo.html ae6720456d init 1 rok temu
scatter.html ae6720456d init 1 rok temu
scatterMatrix.html ae6720456d init 1 rok temu
selectedMode.html ae6720456d init 1 rok temu
showTip.html ae6720456d init 1 rok temu
singleAxisScales.html ae6720456d init 1 rok temu
stream-filter.html ae6720456d init 1 rok temu
sunburst-book.html ae6720456d init 1 rok temu
sunburst-drink.html ae6720456d init 1 rok temu
sunburst-highlight.html ae6720456d init 1 rok temu
sunburst-simple.html ae6720456d init 1 rok temu
sunburst-visualMap.html ae6720456d init 1 rok temu
sunburst.html ae6720456d init 1 rok temu
symbol.html ae6720456d init 1 rok temu
theme.html ae6720456d init 1 rok temu
themeRiver.html ae6720456d init 1 rok temu
themeRiver2.html ae6720456d init 1 rok temu
timeScale.html ae6720456d init 1 rok temu
timeScale2.html ae6720456d init 1 rok temu
timeZone.html ae6720456d init 1 rok temu
timeline-dynamic-series.html ae6720456d init 1 rok temu
timeline-finance.html ae6720456d init 1 rok temu
timeline-layout.html ae6720456d init 1 rok temu
tmp-base.html ae6720456d init 1 rok temu
tooltip-action.html ae6720456d init 1 rok temu
tooltip-axisPointer.html ae6720456d init 1 rok temu
tooltip-cascade.html ae6720456d init 1 rok temu
tooltip-link.html ae6720456d init 1 rok temu
tooltip-setOption.html ae6720456d init 1 rok temu
tooltip-touch.html ae6720456d init 1 rok temu
tooltip.html ae6720456d init 1 rok temu
tooltipTestHelper.js ae6720456d init 1 rok temu
touch-candlestick.html ae6720456d init 1 rok temu
touch-slide.html ae6720456d init 1 rok temu
touch-test.html ae6720456d init 1 rok temu
tree-basic.html ae6720456d init 1 rok temu
tree-image.html ae6720456d init 1 rok temu
tree-legend.html ae6720456d init 1 rok temu
tree-radial.html ae6720456d init 1 rok temu
tree-vertical.html ae6720456d init 1 rok temu
treemap-disk.html ae6720456d init 1 rok temu
treemap-disk2.html ae6720456d init 1 rok temu
treemap-obama.html ae6720456d init 1 rok temu
treemap-option.html ae6720456d init 1 rok temu
treemap-option2.html ae6720456d init 1 rok temu
treemap-simple.html ae6720456d init 1 rok temu
treemap-visual.html ae6720456d init 1 rok temu
visualMap-categories.html ae6720456d init 1 rok temu
visualMap-continuous.html ae6720456d init 1 rok temu
visualMap-large.html ae6720456d init 1 rok temu
visualMap-layout.html ae6720456d init 1 rok temu
visualMap-opacity.html ae6720456d init 1 rok temu
visualMap-performance1.html ae6720456d init 1 rok temu
visualMap-pieces.html ae6720456d init 1 rok temu
visualMap-scatter-colorAndSymbol.html ae6720456d init 1 rok temu
visualMap-scatter-symbolSize.html ae6720456d init 1 rok temu
visualMap-special-case.html ae6720456d init 1 rok temu
webkit-dep.html ae6720456d init 1 rok temu
worldPopulationBubble.html ae6720456d init 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.