-
-
Notifications
You must be signed in to change notification settings - Fork 75
User Acceptance Tests
Kelson edited this page Jun 5, 2019
·
11 revisions
-
Changelog
has been updated -
README
is still up2date - git tag set properly
- Docker image build (change repo for testing):
docker build docker
- Global installation works on Linux with nodejs 10:
sudo npm install -g openzim/mwoffliner
- Version is printed properly:
mwoffliner --version
andmwoffliner -v
- Help is printed properly:
mwoffliner --help
andmwoffliner -h
andmwoffliner
- Simple bm.wikipedia.org dump:
mwoffliner --mwUrl=https://bm.wikipedia.org/ --adminEmail="[email protected]" --verbose
- Last
mwoffliner
execution was OKecho $?
(0
should be printed) - ZIM file has been created properly:
zimdump -C out/wikipedia_bm_all_2019-03.zim
andzimcheck out/wikipedia_bm_all_2019-03.zim
Also do same as above with en top 100:
-
mwoffliner --mwUrl=https://download.kiwix.org/wp1/enwiki_2019-01/tops/100 --verbose
-
zimdump -L ./out/wikipedia_en_100_2019-04.zim | grep html | wc -l
should be 100
- Based on custom article & favicon:
mwoffliner --verbose --mwUrl="https://en.wikipedia.org/" [email protected] --customZimFavicon="https://upload.wikimedia.org/wikipedia/en/thumb/e/ec/Soccer_ball.svg/900px-Soccer_ball.svg.png" --customZimTitle="Football by Wikipedia" --customZimDescription="Wikipedia articles dedicated to Football" --articleList=https://download.kiwix.org/wp1/enwiki/projects/Football
- Only articles in
--articleList
are mirrored (not the default home page) - Using
--articleList
implies using the default thumbnailed welcome page - Wiki home page properly retrieved if no
--articleList
or--customMainPage
-
--customMainPage
works properly even if article is not in the list of--articleList