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

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.