aboutsummaryrefslogtreecommitdiff
path: root/spec/util_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the collecting of coverage data from unit testsGeorge Roman2018-06-121-0/+1
|
* General refactor introducing Rockspec and Build.Opts objectsHisham Muhammad2018-06-061-1/+0
| | | | | | | | | | Adds a Rockspec object responsible for constructing all Rockspec tables in the manner of the Queries and Results objects, and a type-checked Build.Opts tables for build options, since the number of attributes passed around was getting out of hand. This allowed a major cleanup in the luarocks.build, luarocks.fetch and luarocks.cmd.write_rockspec modules.
* Tests: core.util.show_table (#813)George Roman2018-06-051-0/+34
|
* Tests: collect coverage data from unit tests (#814)George Roman2018-06-051-0/+11
|
* Tests: replace #blackbox with #integration and #whitebox with #unitGeorge Roman2018-06-041-2/+2
|
* Tests: make sure tests run from testrun/Hisham Muhammad2018-03-301-3/+3
|
* Reorganize test suite filesHisham Muhammad2018-01-081-1/+1
|
* Use versioned files only. (#734)Hisham Muhammad2017-10-041-55/+8
| | | | | | | | Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for: * Unversioned config.lua -> use config-5.x.lua * Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua * Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x
* Avoid breaking test in release branches.Hisham2016-12-011-2/+2
|
* Add tests for util.sortedpairsPeter Melnichenko2016-10-061-0/+56
|
* Windows and appveyor support for testsroboo2016-08-211-20/+39
|
* Test improvementsroboo2016-07-191-5/+8
|
* Remove some more unused stuff and globals from testsPeter Melnichenko2016-07-081-1/+1
|
* Make env vars, paths and run commands available on test env loadPeter Melnichenko2016-07-081-3/+3
|
* Tests: disable insulation and use describe() instead of expose()Peter Melnichenko2016-07-081-1/+1
|
* New test-suite for LuaRocks (#581)robooo2016-07-071-0/+96
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