summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* tar.py: Add tar testsTristan Maat2017-09-281-0/+83
|
* mount_simple.py: Add mount testsTristan Maat2017-09-281-0/+52
|
* Add platform factoriesTristan Maat2017-09-2825-22/+42
|
* Test the proper fallback of artifact configsMathieu Bridon2017-09-192-7/+67
|
* Add testsTristan Maat2017-09-146-0/+111
|
* Fix affected test casesTristan Maat2017-09-141-6/+6
|
* Fix affected test cases24-better-validation-for-loaded-yamlTristan Maat2017-09-145-4/+23
|
* Add source plugin node validationsTristan Maat2017-09-142-1/+2
|
* Add element plugin node validationsTristan Maat2017-09-141-0/+1
|
* Add element node validationsTristan Maat2017-09-143-0/+21
|
* Add _yaml.validate_nodeTristan Maat2017-09-132-0/+30
|
* tar.py source test case: Stop using tar's private _sha256sum() methodTristan Van Berkom2017-09-121-4/+5
| | | | | That was removed anyway, now use utils.sha256sum() to calculate the expected tar ref.
* tests/cachekey: Adding cache key tests for new patch sourceTristan Van Berkom2017-09-099-1/+30
|
* Add patch source pluginChandan Singh2017-09-0921-6/+234
| | | | Fixes #63
* Removing artifact cache tests.Tristan Van Berkom2017-09-083-113/+0
| | | | | | | | | | Except for the ArtifactCache.remove() test, all of these assertions are covered by the frontend `push` and `pull` tests. The remove() API itself is unused except for being tested, lets leave this functionality out until it's used. The highlevel tests are easier to write and exercise more of the codebase to assert the right behaviors, so lets only maintain that.
* tests/frontend/buildcheckout.py: Run tests in strict/non-strict modeTristan Van Berkom2017-09-051-9/+21
|
* tests/completions/completions.py: Testing more completion casesTristan Van Berkom2017-09-0510-17/+114
|
* tests/completions/completions.py: Adding new test for bash completionsTristan Van Berkom2017-09-0510-0/+272
|
* tests/frontend/pull.py: Added test case for testing `bst pull`Tristan Van Berkom2017-09-051-0/+145
|
* tests/frontend/push.py: Adding test for `bst push`Tristan Van Berkom2017-09-051-0/+98
|
* frontend test project.conf: Use a more neutral and sensible project nameTristan Van Berkom2017-09-051-1/+1
|
* tests/testutils/runcli.py: Now the cli can set the environment and cwd for a runTristan Van Berkom2017-09-051-7/+40
|
* tests/testutils/runcli.py: Print CLI commands unconditionallyTristan Van Berkom2017-09-051-5/+5
| | | | We want to see them in failed test logs even if they succeeded.
* tests/testutils/runcli.py: Added get_element_key() method to fetch cache keyTristan Van Berkom2017-09-051-0/+13
|
* tests/testutils/artifactshare.py: Added scaffolding for artifact sharesTristan Van Berkom2017-09-052-0/+107
| | | | | So we can create artifact shares and use them easily in test cases for pushing and pulling artifacts from a share.
* Restructuring tests using the Repo and CliTristan Van Berkom2017-09-046-22/+18
| | | | | | Make all the test batteries which run on all the source backends we have repo scaffoldings for discover the list of Repo implementations automatically.
* tests/frontend/workspace.py: Adding test for `bst workspace` familyTristan Van Berkom2017-09-041-0/+192
|
* tests/sources/ostree.py: Removed test and data.Tristan Van Berkom2017-09-046-193/+0
| | | | | | | | This was testing nothing whatsoever about the behavior of the plugin but just running for the sake of running. Removing this does not effect the coverage report of the ostree.py plugin.
* tests/testutils/repo/ostree.py: Skip tests if the ostree cli is not installedTristan Van Berkom2017-09-041-0/+7
|
* cachekey.py: Fix broken logic of excluding testsTristan Van Berkom2017-09-041-2/+2
| | | | Skip the tests if we DONT have bzr or git, not if we DO.
* tests/cachekey/cachekey.py: Skip if not all plugins are availableTristan Van Berkom2017-09-041-0/+6
|
* tests/testutils/repo/git.py: Skip tests if git is not installedTristan Van Berkom2017-09-041-0/+8
|
* tests/testutils/repo/bzr.py: Skip tests if bzr is not installedTristan Van Berkom2017-09-041-0/+8
|
* tests/source/git.py: Skip if git is not availableTristan Van Berkom2017-09-041-0/+12
|
* tests/sources/bzr.py: Use site.py to determine presence of bzrTristan Van Berkom2017-09-041-8/+1
|
* testutis/site.py: A location for checking the presense of host featuresTristan Van Berkom2017-09-041-0/+22
|
* tests/frontend/track.py: Added test case for `bst track`Tristan Van Berkom2017-09-041-0/+57
|
* tests/frontend/fetch.py: Added tests for `bst fetch`Tristan Van Berkom2017-09-041-0/+50
|
* tests/frontend/compose_splits.py: Adding some simple artifact splitting test.Tristan Van Berkom2017-09-043-0/+69
| | | | This adds a couple of extra elements to the test data project.
* tests/frontend/show.py: Added test for `bst show`Tristan Van Berkom2017-09-041-0/+55
|
* tests/frontend/buildcheckout.py: Added tests for `bst build` and `bst checkout`Tristan Van Berkom2017-09-041-0/+78
|
* tests/frontend/project: Adding project data for frontend testsTristan Van Berkom2017-09-047-0/+47
| | | | This adds a test project for the frontend tests to share
* tests/frontend/version.py: Use the fixture to run buildstreamTristan Van Berkom2017-09-041-11/+3
|
* tests/frontend/help.py: Use the fixture to run buildstreamTristan Van Berkom2017-09-041-13/+5
|
* tests/cachekey/cachekey.py: Use the cli runner fixture here.Tristan Van Berkom2017-09-041-15/+5
|
* tests/testutils/repo module: New module for Source support scaffoldingTristan Van Berkom2017-09-046-0/+258
| | | | Currently comes with a Repo() abstract class and a git implementation
* tests/testutils/runcli.py: Added fixture for running the CLITristan Van Berkom2017-09-042-0/+113
|
* tests/sources/ostree.py: Removed http server testTristan Van Berkom2017-09-041-22/+0
| | | | | | | | | | | This was failing intermittently if the test suite is run multiple times (as it takes some time for the port 8000 to become available again). Further, this test case was immaterial and not testing any ostree functionality whatsoever. Presumably this was a remnant from a time when the test case attempts to fetch the payload over a local http connection.
* tests/artifactcache/basics.py: Call artifacts.pull() in a subprocessTristan Van Berkom2017-09-041-1/+5
| | | | | This causes fetch operations to work later on in the frontend tests when we run the scheduler and use ostree in a sub proecess.
* tests/frontend/help.py: Adding test case for --help of all commandsTristan Van Berkom2017-09-021-0/+43
|