Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: reorganize and speed up unit tests | Hisham Muhammad | 2024-02-27 | 1 | -2/+0 |
| | |||||
* | tests: don't use validate-args rockspec in tests | Hisham Muhammad | 2022-03-06 | 1 | -7/+7 |
| | | | | | | | | 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. | ||||
* | editorconfig: trim trailing whitespace | Hisham Muhammad | 2021-03-16 | 1 | -1/+1 |
| | |||||
* | tests: shorter descriptions | Hisham Muhammad | 2020-02-14 | 1 | -5/+5 |
| | |||||
* | Tests: replace #blackbox with #integration and #whitebox with #unit | George Roman | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | Add support for namespaces. | Hisham Muhammad | 2018-04-11 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Reorganize test suite files | Hisham Muhammad | 2018-01-08 | 1 | -1/+1 |
| | |||||
* | Make env vars, paths and run commands available on test env load | Peter Melnichenko | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | Tests: disable insulation and use describe() instead of expose() | Peter Melnichenko | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | Remove all the unused imports in test suite | Peter Melnichenko | 2016-07-08 | 1 | -1/+0 |
| | |||||
* | New test-suite for LuaRocks (#581) | robooo | 2016-07-07 | 1 | -0/+37 |
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 |