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

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.