-
-
Notifications
You must be signed in to change notification settings - Fork 93
User Acceptance Tests
Kelson edited this page Jun 5, 2019
·
11 revisions
-
Changeloghas been updated -
READMEis 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 --versionandmwoffliner -v - Help is printed properly:
mwoffliner --helpandmwoffliner -handmwoffliner
- Simple bm.wikipedia.org dump:
mwoffliner --mwUrl=https://bm.wikipedia.org/ --adminEmail="[email protected]" --verbose - Last
mwofflinerexecution was OKecho $?(0should be printed) - ZIM file has been created properly:
zimdump -C out/wikipedia_bm_all_2019-03.zimandzimcheck 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 -lshould 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
--articleListare mirrored (not the default home page) - Using
--articleListimplies using the default thumbnailed welcome page - Wiki home page properly retrieved if no
--articleListor--customMainPage -
--customMainPageworks properly even if article is not in the list of--articleList