aboutsummaryrefslogtreecommitdiff
path: root/spec/pack_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: convert most pack testsHisham Muhammad2024-03-131-65/+2
|
* tests: reorganize and speed up unit testsHisham Muhammad2024-02-271-4/+3
|
* tests: avoid repeated hardcoded package version numbers all overHisham Muhammad2022-04-121-2/+2
|
* tests: don't use validate-args rockspec in testsHisham Muhammad2022-03-061-1/+1
| | | | | | | | We only used the rockspec in testing, but since the app it refers to is GPL-3, it could cause confusion among users, so let's just drop it from the test suite. Closes #1387.
* fix: pack: rockspec with a bare file in the urlHisham Muhammad2021-03-221-1/+55
|
* pack: check that directory inside archive actually existsHisham Muhammad2021-03-221-0/+6
|
* editorconfig: trim trailing whitespaceHisham Muhammad2021-03-161-3/+3
|
* tests: shorter descriptionsHisham Muhammad2020-02-141-1/+1
|
* tests: drop LuaSec dependency on tests, use fixtures insteadHisham Muhammad2020-01-251-1/+0
|
* Tests: cleanup signature before signingHisham Muhammad2019-04-261-0/+2
|
* Add --sign option to `luarocks pack`Hisham Muhammad2019-04-011-0/+10
| | | | | | | | * Introduce a new module, `luarocks.signing` * Add `--sign` option to `luarocks pack`, which produces a detached GPG signature * Includes a basic test, along with some fixtures with a password-less GPG key
* Tests: replace #blackbox with #integration and #whitebox with #unitGeorge Roman2018-06-041-3/+1
|
* Tests: cache build of mock server dependencies to speed up testsHisham Muhammad2018-05-281-14/+18
|
* Add support for namespaces.Hisham Muhammad2018-04-111-22/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For details of the new feature, see https://github.com/luarocks/luarocks/wiki/Namespaces This ended up being a huge commit because of some major refactoring motivated by the new feature: * new modules for some object types: * `luarocks.queries` - all functions that look for rocks in local or remote repositories now use objects constructed by this module: query objects contain the name, namespace and query constraints. Dependencies in a rockspec are also stored as query objects. * `luarocks.results` - all individual results produces from queries are returned in this format: result objects contain the name, namespace, version, arch and repo. * the `results` object was renamed to `result_tree`, to better reflect that it is not an array of `result` objects. * `luarocks.vers` was removed, its functionality was moved to better locations. Specifically on namespaces: * Commands that take a rock `name` can now take `namespace/name` (and alternately `--flags=namespace` so that URLs can be also installed with a nominal namespace). * Rocks installed from a namespace now create a `rock_namespace` file alongside `rock_manifest`, which is used when matching namespaced dependencies against locally-installed rocks. * Using namespaced dependencies in a rockspec, requires `rockspec_format = "3.0"`. * Tests under the `#namespaces` hashtag, all using a local repository.
* Tests: make sure tests run from testrun/Hisham Muhammad2018-03-301-3/+3
|
* Reorganize test suite filesHisham Muhammad2018-01-081-2/+2
|
* Restore accidentally deleted line!Hisham2016-09-081-0/+1
|
* Fix test to match new behavior of `pack`.Hisham2016-09-081-2/+3
|
* Tests: luarocks_bool commands log their outputs on failure.Hisham2016-09-081-2/+2
|
* Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readabilityroboo2016-08-221-5/+1
|
* Windows and appveyor support for testsroboo2016-08-211-7/+11
|
* Test improvementsroboo2016-07-191-4/+2
|
* Fix of upload tests for lua5.3roboo2016-07-181-1/+1
|
* New pack testsroboo2016-07-151-1/+24
|
* Update new_version, pack testsroboo2016-07-111-0/+5
|
* Make env vars, paths and run commands available on test env loadPeter Melnichenko2016-07-081-2/+1
|
* Tests: disable insulation and use describe() instead of expose()Peter Melnichenko2016-07-081-1/+1
|
* Remove all the unused imports in test suitePeter Melnichenko2016-07-081-1/+0
|
* New test-suite for LuaRocks (#581)robooo2016-07-071-0/+35
First version of new test-suite, using Busted framework based on Google Summer of Code project: https://summerofcode.withgoogle.com/projects/#5695811874717696 * Rewritten from Bash to Lua * Tests now check if they did what they were supposed to, beyond only checking success or failure of the `luarocks` command * Support for black-box (launching `luarocks` as an external command) and white-box (testing functions in modules directly) testing