summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* profiles: combine lists of values for conflicting config optionsTristan Sloughter2015-02-242-3/+21
|
* Add tests and fixes for packages upgradesFred Hebert2015-02-233-8/+20
| | | | | | | | | | - Track level of packages properly, they're not level 0 anymore (this could yield an issue where a src dep takes precedence over a pkg dep) - Proper stable sort of vertices in the digraph module - PkgDeps no longer 'see themselves' when fetching and upgrading after locking themselves - Pkg Locks are added to pkg deps rather than source deps - Updating test cases to support pkg mocking on top of src mocking
* Reuse test code and drop duplicated stuffFred Hebert2015-02-233-98/+20
|
* Merge pull request #174 from tsloughter/profile_testsFred Hebert2015-02-233-46/+128
|\ | | | | basic profile deps tests
| * basic profile deps testsTristan Sloughter2015-02-223-46/+128
| |
* | don't unescessarily recompile yrl/xrl filesalisdair sullivan2015-02-221-2/+43
|/ | | | fixes #175
* Merge pull request #167 from tsloughter/release_testsFred Hebert2015-02-222-0/+76
|\ | | | | release and tar tests
| * fix test, remove use of filelib:wildcard for R15 supportTristan Sloughter2015-02-221-2/+2
| |
| * release and tar testsTristan Sloughter2015-02-222-0/+76
| |
* | Merge pull request #166 from tsloughter/xdgFred Hebert2015-02-212-4/+4
|\ \ | |/ |/| follow xdg standard. fixes #122
| * fix order of top_level_deps function in ugprade_SUITETristan Sloughter2015-02-191-3/+3
| |
| * follow xdg standard. fixes #122Tristan Sloughter2015-02-191-1/+1
| |
* | check for newly added deps in config file that aren't level 0 in the lockTristan Sloughter2015-02-191-4/+40
|/
* use project sub-apps with deps in their rebar.configTristan Sloughter2015-02-171-1/+29
|
* Merge pull request #157 from talentdeficit/real_needs_recompileTristan Sloughter2015-02-171-2/+56
|\ | | | | check already compiled modules compile arguments against current compile arguments
| * check already compiled modules compile arguments against current compilealisdair sullivan2015-02-161-2/+56
| | | | | | | | arguments to ensure compile results as as intended
* | replace package management with hex.pmTristan Sloughter2015-02-174-76/+203
| |
* | Initial `deps` commandFred Hebert2015-02-162-188/+283
|/
* Warnings for Deletions and friendly errorsFred Hebert2015-02-122-10/+29
| | | | | | | | | Apps that are no longer used are not automatically deleted, but we tell users it can be done. This is safer while we're not sure of the correctness of these messages. Error messages are added for transient dependencies and dependencies not found.
* Support multiple app upgrade & lock testsFred Hebert2015-02-112-5/+50
| | | | | | - Many apps is supported through and through - Not mentioning any app upgrades all apps - Locks are refreshed on disk and tested as such after an upgrade
* Fix testcases, add multi-app upgrade supportFred Hebert2015-02-112-12/+60
| | | | | | | | todo: - relock stuff - default to all apps needing upgrade - more tests? - pkgs?
* More progress on upgradesFred Hebert2015-02-111-4/+9
| | | | | | Only the most complex case is failing, where cross-dependencies would need to be refetched as an update clears an app of its dependencies and a different subtree should override it.
* Partial work + Failing testsFred Hebert2015-02-113-80/+261
| | | | | The problem with the current effort is handling of transitive dependency upgrades and possible values.
* WIPFred Hebert2015-02-113-2/+196
| | | | | | Test that all the correct locks are set for an upgrade run. Now to actually re-run the install deps and prove it works
* Merge pull request #138 from talentdeficit/args_to_tasksFred Hebert2015-02-111-0/+120
|\ | | | | factor out task/args parsing from `do` for use in other meta commands
| * factor out task/args parsing from `do` for use in other metaalisdair sullivan2015-02-081-0/+120
| | | | | | | | commands
* | Add initial dialyzer testsJames Fish2015-02-081-0/+158
| |
* | Change mock_pkg_resource to create ebin directoryKelly McLaughlin2015-02-061-1/+1
| | | | | | | | | | | | | | | | | | Change mock_pkg_resource to use rebar_test_utils:create_empty_app so that an ebin directory is created which is a good expectation for a package. Also revert the check in rebar_fetch:download_source to check for an ebin directory before adding it to the code path for package installs. If a package does not have an ebin directory it is probably a good for an exception to be thrown.
* | Add xref provider for cross reference analysisKelly McLaughlin2015-02-051-0/+190
|/ | | | | | | | | | | * Add a provider for the xref tool for running cross reference analysis on a project. Most of the code has been ported directly from the rebar2 rebar_xref module with some modification and cleanup to support testing. * Port over the eunit test suite from rebar2, but convert it to common_test. The testing is the same, but now the erlang term output is examined to determine if the test run is successful instead of scanning the console output for the expected strings.
* fix find_apps when searching for invalid appsTristan Sloughter2015-02-021-1/+2
|
* add hook SUITE testsTristan Sloughter2015-01-312-0/+57
|
* fix `reset_dir` test suite for r15xalisdair sullivan2015-01-181-3/+3
| | | swap `file:list_dir` for `file:list_dir_all` due to nonexistence of latter prior to r16x
* add functions `system_tmpdir/0,1` and `reset_dir/1`alisdair sullivan2015-01-151-0/+86
| | | | (in `rebar_file_utils`)
* test for eunit provideralisdair sullivan2015-01-062-4/+64
|
* MORE TESTSFred Hebert2014-12-291-2/+23
|
* Adding tests for checkouts being found & compiledFred Hebert2014-12-292-5/+30
|
* Add release-structured compiling testsFred Hebert2014-12-242-5/+26
|
* Add support for custom templates in subdirectoriesFred Hebert2014-12-239-0/+203
| | | | - Includes tests for templates and their application
* Tests and fixes for namespacesFred Hebert2014-12-211-0/+93
|
* Fix up programmatic interface to rebar3Fred Hebert2014-12-212-2/+2
| | | | Now supports arbitrary commands
* rewrite profilesTristan Sloughter2014-12-161-2/+1
|
* Adding pkg deps tests and refactoringsFred Hebert2014-12-164-28/+241
| | | | | | | | | | | | | | | | | | | - Adding tests for package deps - Adding conflict/override warnings for package deps - Adding cycle detection for packages - Adding cycle detection for mixed packages+source - Fixing internal dependency format of package resources when converted to rebar_app_info - normalizing level-order prioritization to be based on lexicographical sort of app names rather than traversal order (which is undefined for package deps) - Fixing tests for source deps for deep cycle detection - Fixing bugs with source deps - Relaxed version format checks for test utils A lot of fixes are combined in there because I didn't want to commit non-passing code, and many bugs were found when adding the second batch of tests as part of the original effort.
* Print warning when deps are being skipped.Fred Hebert2014-12-071-13/+64
| | | | | The case in mind here is due to conflicts, and tests have been added for this.
* Handle cycle errors in providerFred Hebert2014-12-061-2/+2
|
* Return cycles in deps solverFred Hebert2014-12-061-2/+2
|
* Partial fix to circular deps (#40)Fred Hebert2014-12-064-32/+59
| | | | | | | | | - Adding tests - fixing use of set fetching to find repeated deps and prevent infinite loops On a circular loop rebar3 now fails with `{error, no_sort}`, which is uncaught and should be handled to consider the issue fully fixed.
* Initial tests for dependency resolvingFred Hebert2014-12-044-85/+358
| | | | | | | | | | | | | - Reworked the helpers for existing suites and expanded them - Created a mock git resource module to test for its dependency fetching - Added a test suite for dependency resolving with first checks for common cases (https://gist.github.com/ferd/197cc5c0b85aae370436) Left to do would include: - Verify warnings - Verify failures - Verify dependency updates resolving
* start of breaking out test code for ease of checksTristan Sloughter2014-11-291-9/+12
|
* pass command as arg to run_aux for nowTristan Sloughter2014-10-171-1/+1
|
* fix ct test for new command handlingTristan Sloughter2014-09-171-1/+1
|