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