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

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.