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

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.