Lapis is production ready, use it on your next huge project.
Learn more on the homepage: http://leafo.net/lapis/
We just created a Discord for Lapis users and those interested in it to communicate. You can join us here: https://discord.gg/Y75ZXrD
Made a website in Lapis? Tell us
busted-- test Lua implementations
busted spec_postgres-- integration tests with PostgreSQL. Requires a running PostgreSQL server
busted spec_mysql-- integration tests with MySQL. Requires a running MySQL server
busted spec_openresty/-- integration tests with OpenResty as a server. Requires installation of OpenResty & Databases
busted spec_cqueues/-- integration tests with lua-http and cqueues as a server.
Test suites that require databases need to have the initial database created. A
lapis_test database is created on each.
You can run each command respectively.
make test_db # postgres test db make mysql_test_db
postgresuser can be logged in with no password.
rootuser can be logged in with no password.
This repository contains a Dockerfile for running the entire test suite. You can run it with the following commands:
docker build -t lapis-test . docker run lapis-test
docker build will pull in the files in the current directory, including any
changes. To test modified code, build again before running the test suite. It
should be a quick operation since dependency installation is cached.
Copyright (C) 2020 by Leaf Corcoran
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.