seimin 55b3368751 项目初始化 il y a 3 ans
..
data 55b3368751 项目初始化 il y a 3 ans
lib 55b3368751 项目初始化 il y a 3 ans
ut 55b3368751 项目初始化 il y a 3 ans
-primary-cases.html 55b3368751 项目初始化 il y a 3 ans
README.md 55b3368751 项目初始化 il y a 3 ans
allZero.html 55b3368751 项目初始化 il y a 3 ans
area.html 55b3368751 项目初始化 il y a 3 ans
area2.html 55b3368751 项目初始化 il y a 3 ans
areaLineUpdate.html 55b3368751 项目初始化 il y a 3 ans
axes.html 55b3368751 项目初始化 il y a 3 ans
axis-extrema.html 55b3368751 项目初始化 il y a 3 ans
axis.html 55b3368751 项目初始化 il y a 3 ans
bar-large.html 55b3368751 项目初始化 il y a 3 ans
bar.html 55b3368751 项目初始化 il y a 3 ans
bar2.html 55b3368751 项目初始化 il y a 3 ans
bar3.html 55b3368751 项目初始化 il y a 3 ans
bmap.html 55b3368751 项目初始化 il y a 3 ans
boxplot-multi.html 55b3368751 项目初始化 il y a 3 ans
boxplot.html 55b3368751 项目初始化 il y a 3 ans
brush.html 55b3368751 项目初始化 il y a 3 ans
brush2.html 55b3368751 项目初始化 il y a 3 ans
candlestick.html 55b3368751 项目初始化 il y a 3 ans
candlestickConnect.html 55b3368751 项目初始化 il y a 3 ans
chord.html 55b3368751 项目初始化 il y a 3 ans
color-mix-aqi.html 55b3368751 项目初始化 il y a 3 ans
config.js 55b3368751 项目初始化 il y a 3 ans
connect-manually.html 55b3368751 项目初始化 il y a 3 ans
connect.html 55b3368751 项目初始化 il y a 3 ans
connect2.html 55b3368751 项目初始化 il y a 3 ans
css-transform.html 55b3368751 项目初始化 il y a 3 ans
dataView.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-axes.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-axis-type.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-cartesian-h.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-cartesian-v.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-dataShadow.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-dataShadow0.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-dataShadow1.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-dataShadow2.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-dynamic.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-geo.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-rainfall-connect.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-rainfall-inside.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-rainfall.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-scatter-category.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-scatter-hv-polar.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-scatter-hv.html 55b3368751 项目初始化 il y a 3 ans
dataZoom-scatter-toolbox.html 55b3368751 项目初始化 il y a 3 ans
dataZoomHighPrecision.html 55b3368751 项目初始化 il y a 3 ans
diff.html 55b3368751 项目初始化 il y a 3 ans
dynamicData.html 55b3368751 项目初始化 il y a 3 ans
dynamicData2.html 55b3368751 项目初始化 il y a 3 ans
dynamicData3.html 55b3368751 项目初始化 il y a 3 ans
effectScatter.html 55b3368751 项目初始化 il y a 3 ans
esl.js 55b3368751 项目初始化 il y a 3 ans
force.html 55b3368751 项目初始化 il y a 3 ans
force2.html 55b3368751 项目初始化 il y a 3 ans
force3.html 55b3368751 项目初始化 il y a 3 ans
funnel.html 55b3368751 项目初始化 il y a 3 ans
gauge.html 55b3368751 项目初始化 il y a 3 ans
geo-map.html 55b3368751 项目初始化 il y a 3 ans
geoLine.html 55b3368751 项目初始化 il y a 3 ans
geoScatter.html 55b3368751 项目初始化 il y a 3 ans
getOption.html 55b3368751 项目初始化 il y a 3 ans
graph-grid.html 55b3368751 项目初始化 il y a 3 ans
graph-simple.html 55b3368751 项目初始化 il y a 3 ans
graph.html 55b3368751 项目初始化 il y a 3 ans
graphicOption.html 55b3368751 项目初始化 il y a 3 ans
heatmap-large.html 55b3368751 项目初始化 il y a 3 ans
heatmap-map.html 55b3368751 项目初始化 il y a 3 ans
heatmap.html 55b3368751 项目初始化 il y a 3 ans
ie8.html 55b3368751 项目初始化 il y a 3 ans
largeLine.html 55b3368751 项目初始化 il y a 3 ans
lazyUpdate.html 55b3368751 项目初始化 il y a 3 ans
line-visual.html 55b3368751 项目初始化 il y a 3 ans
line.html 55b3368751 项目初始化 il y a 3 ans
lines-bus.html 55b3368751 项目初始化 il y a 3 ans
lines-symbol.html 55b3368751 项目初始化 il y a 3 ans
lines-track.html 55b3368751 项目初始化 il y a 3 ans
loading.html 55b3368751 项目初始化 il y a 3 ans
logScale.html 55b3368751 项目初始化 il y a 3 ans
map-contour.html 55b3368751 项目初始化 il y a 3 ans
map-parallel.html 55b3368751 项目初始化 il y a 3 ans
map.html 55b3368751 项目初始化 il y a 3 ans
mapWorld.html 55b3368751 项目初始化 il y a 3 ans
markArea.html 55b3368751 项目初始化 il y a 3 ans
markLine.html 55b3368751 项目初始化 il y a 3 ans
markPoint.html 55b3368751 项目初始化 il y a 3 ans
masterPainterColorChoice.html 55b3368751 项目初始化 il y a 3 ans
media-dataZoom.html 55b3368751 项目初始化 il y a 3 ans
media-finance.html 55b3368751 项目初始化 il y a 3 ans
media-pie.html 55b3368751 项目初始化 il y a 3 ans
mix.html 55b3368751 项目初始化 il y a 3 ans
mobileBench.html 55b3368751 项目初始化 il y a 3 ans
multipleGrid.html 55b3368751 项目初始化 il y a 3 ans
parallel-aqi.html 55b3368751 项目初始化 il y a 3 ans
parallel-nutrients.html 55b3368751 项目初始化 il y a 3 ans
pictorial-repeat.html 55b3368751 项目初始化 il y a 3 ans
pictorial-single.html 55b3368751 项目初始化 il y a 3 ans
pie-calculable.html 55b3368751 项目初始化 il y a 3 ans
pie.html 55b3368751 项目初始化 il y a 3 ans
pie2.html 55b3368751 项目初始化 il y a 3 ans
pie3.html 55b3368751 项目初始化 il y a 3 ans
pieDynamic.html 55b3368751 项目初始化 il y a 3 ans
polarLine.html 55b3368751 项目初始化 il y a 3 ans
polarLine2.html 55b3368751 项目初始化 il y a 3 ans
polarScatter.html 55b3368751 项目初始化 il y a 3 ans
punchCard.html 55b3368751 项目初始化 il y a 3 ans
radar.html 55b3368751 项目初始化 il y a 3 ans
radar2.html 55b3368751 项目初始化 il y a 3 ans
radar3.html 55b3368751 项目初始化 il y a 3 ans
radar4.html 55b3368751 项目初始化 il y a 3 ans
reset.css 55b3368751 项目初始化 il y a 3 ans
roseType.html 55b3368751 项目初始化 il y a 3 ans
sankey.html 55b3368751 项目初始化 il y a 3 ans
scale-integer.html 55b3368751 项目初始化 il y a 3 ans
scatter-single-axis.html 55b3368751 项目初始化 il y a 3 ans
scatter.html 55b3368751 项目初始化 il y a 3 ans
scatterMatrix.html 55b3368751 项目初始化 il y a 3 ans
selectedMode.html 55b3368751 项目初始化 il y a 3 ans
showTip.html 55b3368751 项目初始化 il y a 3 ans
singleAxisScales.html 55b3368751 项目初始化 il y a 3 ans
symbol.html 55b3368751 项目初始化 il y a 3 ans
theme.html 55b3368751 项目初始化 il y a 3 ans
themeRiver.html 55b3368751 项目初始化 il y a 3 ans
themeRiver2.html 55b3368751 项目初始化 il y a 3 ans
timeScale.html 55b3368751 项目初始化 il y a 3 ans
timeline-finance.html 55b3368751 项目初始化 il y a 3 ans
timeline-layout.html 55b3368751 项目初始化 il y a 3 ans
tooltip.html 55b3368751 项目初始化 il y a 3 ans
touch-slide.html 55b3368751 项目初始化 il y a 3 ans
touch-test.html 55b3368751 项目初始化 il y a 3 ans
touch-tooltip.html 55b3368751 项目初始化 il y a 3 ans
treemap-disk.html 55b3368751 项目初始化 il y a 3 ans
treemap-obama.html 55b3368751 项目初始化 il y a 3 ans
treemap-option.html 55b3368751 项目初始化 il y a 3 ans
treemap-option2.html 55b3368751 项目初始化 il y a 3 ans
treemap-simple.html 55b3368751 项目初始化 il y a 3 ans
treemap-visual.html 55b3368751 项目初始化 il y a 3 ans
visualMap-categories.html 55b3368751 项目初始化 il y a 3 ans
visualMap-continuous.html 55b3368751 项目初始化 il y a 3 ans
visualMap-layout.html 55b3368751 项目初始化 il y a 3 ans
visualMap-opacity.html 55b3368751 项目初始化 il y a 3 ans
visualMap-pieces.html 55b3368751 项目初始化 il y a 3 ans
visualMap-scatter-colorAndSymbol.html 55b3368751 项目初始化 il y a 3 ans
visualMap-scatter-symbolSize.html 55b3368751 项目初始化 il y a 3 ans
webkit-dep.html 55b3368751 项目初始化 il y a 3 ans
worldPopulationBubble.html 55b3368751 项目初始化 il y a 3 ans

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.