You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
christianesperar 89d7f6df20 Update libraries 9 years ago
..
data Update libraries 9 years ago
lib Put dependecy libraries to bower for easy updating 9 years ago
ut Update libraries 9 years ago
README.md Update libraries 9 years ago
area.html Update libraries 9 years ago
area2.html Put dependecy libraries to bower for easy updating 9 years ago
axes.html Put dependecy libraries to bower for easy updating 9 years ago
axis.html Put dependecy libraries to bower for easy updating 9 years ago
bar-large.html Update libraries 9 years ago
bar.html Put dependecy libraries to bower for easy updating 9 years ago
bar2.html Put dependecy libraries to bower for easy updating 9 years ago
bmap.html Put dependecy libraries to bower for easy updating 9 years ago
boxplot-multi.html Put dependecy libraries to bower for easy updating 9 years ago
boxplot.html Put dependecy libraries to bower for easy updating 9 years ago
candlestick.html Update libraries 9 years ago
candlestickConnect.html Put dependecy libraries to bower for easy updating 9 years ago
chord.html Put dependecy libraries to bower for easy updating 9 years ago
color-mix-aqi.html Put dependecy libraries to bower for easy updating 9 years ago
config.js Put dependecy libraries to bower for easy updating 9 years ago
connect.html Put dependecy libraries to bower for easy updating 9 years ago
connect2.html Put dependecy libraries to bower for easy updating 9 years ago
dataView.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-axes.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-axis-type.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-cartesian-h.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-cartesian-v.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-dataShadow.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-dataShadow0.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-dataShadow1.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-dataShadow2.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-dynamic.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-rainfall-connect.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-rainfall-inside.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-rainfall.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-scatter-category.html Update libraries 9 years ago
dataZoom-scatter-hv-polar.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-scatter-hv.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoom-scatter-toolbox.html Put dependecy libraries to bower for easy updating 9 years ago
dataZoomHighPrecision.html Update libraries 9 years ago
diff.html Put dependecy libraries to bower for easy updating 9 years ago
dynamicData.html Put dependecy libraries to bower for easy updating 9 years ago
effectScatter.html Put dependecy libraries to bower for easy updating 9 years ago
esl.js Put dependecy libraries to bower for easy updating 9 years ago
force.html Put dependecy libraries to bower for easy updating 9 years ago
force2.html Put dependecy libraries to bower for easy updating 9 years ago
force3.html Put dependecy libraries to bower for easy updating 9 years ago
funnel.html Put dependecy libraries to bower for easy updating 9 years ago
gauge.html Put dependecy libraries to bower for easy updating 9 years ago
geoLine.html Put dependecy libraries to bower for easy updating 9 years ago
geoScatter.html Update libraries 9 years ago
getOption.html Put dependecy libraries to bower for easy updating 9 years ago
graph-grid.html Update libraries 9 years ago
graph-simple.html Update libraries 9 years ago
graph.html Update libraries 9 years ago
heatmap-map.html Put dependecy libraries to bower for easy updating 9 years ago
heatmap.html Put dependecy libraries to bower for easy updating 9 years ago
ie8.html Update libraries 9 years ago
largeLine.html Put dependecy libraries to bower for easy updating 9 years ago
line.html Put dependecy libraries to bower for easy updating 9 years ago
loading.html Put dependecy libraries to bower for easy updating 9 years ago
logScale.html Put dependecy libraries to bower for easy updating 9 years ago
map-contour.html Put dependecy libraries to bower for easy updating 9 years ago
map.html Update libraries 9 years ago
mapWorld.html Put dependecy libraries to bower for easy updating 9 years ago
markLine.html Update libraries 9 years ago
markPoint.html Update libraries 9 years ago
masterPainterColorChoice.html Put dependecy libraries to bower for easy updating 9 years ago
media-dataZoom.html Put dependecy libraries to bower for easy updating 9 years ago
media-finance.html Update libraries 9 years ago
media-pie.html Put dependecy libraries to bower for easy updating 9 years ago
mix.html Put dependecy libraries to bower for easy updating 9 years ago
mobileBench.html Put dependecy libraries to bower for easy updating 9 years ago
multipleGrid.html Put dependecy libraries to bower for easy updating 9 years ago
parallel-aqi.html Put dependecy libraries to bower for easy updating 9 years ago
pie.html Put dependecy libraries to bower for easy updating 9 years ago
pie2.html Put dependecy libraries to bower for easy updating 9 years ago
pie3.html Put dependecy libraries to bower for easy updating 9 years ago
pieDynamic.html Put dependecy libraries to bower for easy updating 9 years ago
polarLine.html Put dependecy libraries to bower for easy updating 9 years ago
polarLine2.html Put dependecy libraries to bower for easy updating 9 years ago
polarScatter.html Put dependecy libraries to bower for easy updating 9 years ago
punchCard.html Put dependecy libraries to bower for easy updating 9 years ago
radar.html Update libraries 9 years ago
radar2.html Put dependecy libraries to bower for easy updating 9 years ago
radar3.html Put dependecy libraries to bower for easy updating 9 years ago
radar4.html Put dependecy libraries to bower for easy updating 9 years ago
reset.css Update libraries 9 years ago
roseType.html Put dependecy libraries to bower for easy updating 9 years ago
sankey.html Update libraries 9 years ago
scale-integer.html Update libraries 9 years ago
scatter.html Update libraries 9 years ago
selectedMode.html Put dependecy libraries to bower for easy updating 9 years ago
showTip.html Put dependecy libraries to bower for easy updating 9 years ago
symbol.html Put dependecy libraries to bower for easy updating 9 years ago
theme.html Put dependecy libraries to bower for easy updating 9 years ago
themeRiver.html Put dependecy libraries to bower for easy updating 9 years ago
timeScale.html Put dependecy libraries to bower for easy updating 9 years ago
timeline-finance.html Update libraries 9 years ago
timeline-layout.html Put dependecy libraries to bower for easy updating 9 years ago
tooltip.html Put dependecy libraries to bower for easy updating 9 years ago
treemap-disk.html Update libraries 9 years ago
treemap-obama.html Put dependecy libraries to bower for easy updating 9 years ago
treemap-option.html Update libraries 9 years ago
treemap-option2.html Update libraries 9 years ago
treemap-simple.html Update libraries 9 years ago
visualMap-categories.html Put dependecy libraries to bower for easy updating 9 years ago
visualMap-continuous.html Update libraries 9 years ago
visualMap-layout.html Update libraries 9 years ago
visualMap-opacity.html Update libraries 9 years ago
visualMap-pieces.html Update libraries 9 years ago
visualMap-scatter-colorAndSymbol.html Put dependecy libraries to bower for easy updating 9 years ago
visualMap-scatter-symbolSize.html Put dependecy libraries to bower for easy updating 9 years ago
webkit-dep.html Put dependecy libraries to bower for easy updating 9 years ago
worldPopulationBubble.html Put dependecy libraries to bower for easy updating 9 years ago

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.