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

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.