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

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.