/acmetest

Unit test project for acme.sh project

Primary LanguageShell

acmetest

Unit test project for acme.sh project https://github.com/Neilpang/acme.sh

Here are the latest status:

Platform Status Last Run Time Comments
freebsd Fri, 19 May 2017 02:09:39 UTC Passed
openbsd Fri, 19 May 2017 02:31:46 UTC Passed
pfsense Fri, 19 May 2017 02:41:13 UTC Passed
solaris Fri, 19 May 2017 02:19:19 GMT Passed
windows-cygwin Fri, 19 May 2017 03:03:56 UTC Passed
ubuntu:14.04 Fri, 19 May 2017 03:11:28 UTC Passed
ubuntu:15.04 Fri, 19 May 2017 03:19:33 UTC Passed
ubuntu:16.04 Fri, 19 May 2017 03:28:19 UTC Passed
ubuntu:17.04 Fri, 19 May 2017 03:37:04 UTC Passed
ubuntu:latest Fri, 19 May 2017 03:46:17 UTC Passed
debian:7 Fri, 19 May 2017 04:04:59 UTC Failed
debian:8 Fri, 19 May 2017 04:24:34 UTC Passed
debian:latest Fri, 19 May 2017 04:35:05 UTC Passed
centos:5 Fri, 19 May 2017 04:40:47 UTC Passed
centos:6 Fri, 19 May 2017 04:51:01 UTC Passed
centos:7 Fri, 19 May 2017 05:02:56 UTC Passed
centos:latest Fri, 19 May 2017 05:28:46 UTC Passed
fedora:21 Fri, 19 May 2017 05:41:28 UTC Failed

How to run tests

First point at least 2 of your domains to your machine, for example: aa.com and www.aa.com

And make sure 80 port is not used by anyone else.

cd acmetest
TestingDomain=aa.com   TestingAltDomains=www.aa.com  ./letest.sh

How to run tests in all the platforms through docker.

You must have docker installed, and also point 2 of your domains to your machine.

Then test all the platforms :

cd acmetest
TestingDomain=aa.com   TestingAltDomains=www.aa.com  ./rundocker.sh  testall

The script will download all the supported platforms from the official docker hub, then run the test cases in all the supported platforms.

Then test single docker platform :

cd acmetest
TestingDomain=aa.com   TestingAltDomains=www.aa.com  ./rundocker.sh  testplat   centos:latest

Run tests with ngrok automatically

If you don't want to use 2 domains to test, we can use ngrok to test with temp domain.

Please register an free account at https://ngrok.com/

You will get your ngrok auth token. Then:

export NGROK_TOKEN="xxxxxxxxxx"

./letest.sh