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

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.