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

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.