Code Monkey home page Code Monkey logo

acmetest's Introduction

acmetest

Unit test project for acme.sh project https://github.com/acmesh-official/acme.sh

Here are the latest status:

Platform Status
FreeBSD LetsEncrypt
OpenBSD LetsEncrypt
NetBSD LetsEncrypt
DragonFlyBSD LetsEncrypt
pfsense NA
solaris LetsEncrypt
windows-cygwin LetsEncrypt
ubuntu:latest LetsEncrypt
debian:latest LetsEncrypt
centos:latest LetsEncrypt
fedora:latest LetsEncrypt
opensuse/leap:latest LetsEncrypt
alpine:latest LetsEncrypt
oraclelinux:latest LetsEncrypt
kalilinux/kali LetsEncrypt
archlinux:latest LetsEncrypt
mageia LetsEncrypt
gentoo/stage3-amd64 LetsEncrypt
clearlinux:latest LetsEncrypt
almalinux:latest LetsEncrypt

How to run tests

As simple as just run a script:

./letest.sh

It will use cloudflare tunnel to test on your local machine.

You can also test with your own domain, first point at least 2 of your domains to your machine, for example: example.com and www.example.com

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

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

If you are not root, please use sudo, because the script will have to listen at 80 port:

cd acmetest
sudo  TestingDomain=example.com   TestingAltDomains=www.example.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
./rundocker.sh  testall

It will use cloudflare tunnel test.

Or use your own domain:

cd acmetest
TestingDomain=example.com   TestingAltDomains=www.example.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
./rundocker.sh  testall

Or:

cd acmetest
TestingDomain=example.com   TestingAltDomains=www.example.com  ./rundocker.sh  testplat   ubuntu:latest

acmetest's People

Contributors

alvinschiller avatar chizi123 avatar mralusw avatar neilpang avatar randolf avatar vi9076 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.