<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/tests/testutils/__init__.py, branch remove-dead-code</title>
<subtitle>gitlab.com: buildstream/buildstream.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/'/>
<entry>
<title>Expose basic api for testing external plugins.</title>
<updated>2019-02-08T14:27:54+00:00</updated>
<author>
<name>Phil Dawson</name>
<email>phil.dawson@codethink.co.uk</email>
</author>
<published>2019-01-16T14:03:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=b4d4c4f59c12c9b500f83d8cd4381418e1124f67'/>
<id>b4d4c4f59c12c9b500f83d8cd4381418e1124f67</id>
<content type='text'>
We want external plugins to be able to make use of the core testing utils.
This commit exposes the basic utilities which are currently in use in
bst-external plugins. If necessary, more utilities could be exposed in the
future.

Moves the following files from tests/testutils/ to
buildstream/plugintestingutils/:
o runcli.py
o integration.py

As part of this, this commit makes the following changes to runcli.py
and integration.py:
o runcli.py: Fix linting errors
o runcli.py: Add user facing documentation
o Integration.py: Add user facing documentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want external plugins to be able to make use of the core testing utils.
This commit exposes the basic utilities which are currently in use in
bst-external plugins. If necessary, more utilities could be exposed in the
future.

Moves the following files from tests/testutils/ to
buildstream/plugintestingutils/:
o runcli.py
o integration.py

As part of this, this commit makes the following changes to runcli.py
and integration.py:
o runcli.py: Fix linting errors
o runcli.py: Add user facing documentation
o Integration.py: Add user facing documentation
</pre>
</div>
</content>
</entry>
<entry>
<title>plugins/sources/pip.py: Accomodate characters '-','.','_' for packages</title>
<updated>2018-11-02T16:41:54+00:00</updated>
<author>
<name>ctolentino8</name>
<email>ctolentino8@bloomberg.net</email>
</author>
<published>2018-09-24T09:32:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=de59ebdbf755ca65c7c9d389204f6ce508f84e7e'/>
<id>de59ebdbf755ca65c7c9d389204f6ce508f84e7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>testutils/element_generators.py: Changing sized element functions</title>
<updated>2018-09-14T12:07:46+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-09-14T09:47:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=532ec1eb2a8d43626d8864e49e87b75454f4485e'/>
<id>532ec1eb2a8d43626d8864e49e87b75454f4485e</id>
<content type='text'>
 * create_element_size()

   Now uses a git Repo object instead of a local source, and
   returns the repo.

 * update_element_size()

   Added this function which can now resize the expected output
   of an element generated with create_element_size(), useful
   to allow testing sized elements with the tracking feature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * create_element_size()

   Now uses a git Repo object instead of a local source, and
   returns the repo.

 * update_element_size()

   Added this function which can now resize the expected output
   of an element generated with create_element_size(), useful
   to allow testing sized elements with the tracking feature.
</pre>
</div>
</content>
</entry>
<entry>
<title>Trying to mitigate a mtime granularity braking the cache tests</title>
<updated>2018-08-16T09:52:38+00:00</updated>
<author>
<name>William Salmon</name>
<email>will.salmon@codethink.co.uk</email>
</author>
<published>2018-08-01T13:36:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=177c42649a3c6633b71a0e599ae0e5275476c964'/>
<id>177c42649a3c6633b71a0e599ae0e5275476c964</id>
<content type='text'>
This patch mitigates the granularity of the mtimes used on the default
gitlab runners, Allowing the test suite to pass on these runners.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch mitigates the granularity of the mtimes used on the default
gitlab runners, Allowing the test suite to pass on these runners.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move tests.frontend.generate_junction to test.testutils</title>
<updated>2018-08-02T14:17:01+00:00</updated>
<author>
<name>Valentin David</name>
<email>valentin.david@codethink.co.uk</email>
</author>
<published>2018-06-11T13:33:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=170f33a1122608f978e062559fb2085a7bf4a6fb'/>
<id>170f33a1122608f978e062559fb2085a7bf4a6fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>element_generators.py: Add a utility function to create arbitrary size elements</title>
<updated>2018-06-07T20:41:33+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.com</email>
</author>
<published>2018-04-24T15:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=8a0c0a9a8b2daf33b11b7717b7037584f67bfdec'/>
<id>8a0c0a9a8b2daf33b11b7717b7037584f67bfdec</id>
<content type='text'>
New file consisting of functions that allow us to generate elements
on the fly
__init__.py now includes create_element_size()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New file consisting of functions that allow us to generate elements
on the fly
__init__.py now includes create_element_size()
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test utilities for integration tests</title>
<updated>2018-02-07T13:03:28+00:00</updated>
<author>
<name>Tristan Maat</name>
<email>tristan.maat@codethink.co.uk</email>
</author>
<published>2017-12-20T11:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e4e713ee0860f3de5a7dec4487e01f5d1d6dd0bb'/>
<id>e4e713ee0860f3de5a7dec4487e01f5d1d6dd0bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Exercise the new multiple cache support</title>
<updated>2018-01-11T18:18:13+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2017-11-28T12:03:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=1f39477605f5a8caba487a6ebcf3bf4559babe5f'/>
<id>1f39477605f5a8caba487a6ebcf3bf4559babe5f</id>
<content type='text'>
This adds a new test for parsing artifact cache configuration, which
calls the helper function from the 'artifactcache' module directly
rather than trying to assert based on blind push and pull commands
whether or not we got the complex precedence rules exactly right.

This means frontend push/pull tests no longer need to be so thorough
about testing precedence but they are instead expanded to assert that
multiple caches work correctly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new test for parsing artifact cache configuration, which
calls the helper function from the 'artifactcache' module directly
rather than trying to assert based on blind push and pull commands
whether or not we got the complex precedence rules exactly right.

This means frontend push/pull tests no longer need to be so thorough
about testing precedence but they are instead expanded to assert that
multiple caches work correctly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for multiple remote caches</title>
<updated>2018-01-11T17:13:10+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2017-11-22T14:58:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=d7959bd45493dc58ed6bc84aa2cf40b69b6854c6'/>
<id>d7959bd45493dc58ed6bc84aa2cf40b69b6854c6</id>
<content type='text'>
This extends the 'artifacts' configuration block such that a list of
`url` mappings can be given instead of a single entry. For example:

    artifacts:
      - url: http://example.com/artifacts1
      - url: ssh://ostree@example.com/artifacts2

The OSTreeCache class is updated to set up multiple remotes and query
remote refs from all of them.

There are no automated tests for this yet.

Empty URLs ('') now raise an exception. They cause breakages internally
if we allow them through, and they can only occur if the user or our
tests are misconfiguring things somehow.

We report failure to fetch from the cache by printing a message to
stderr for now. This is because BuildStream's actual logging
functionality can't be used during frontend init -- see issue #168.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This extends the 'artifacts' configuration block such that a list of
`url` mappings can be given instead of a single entry. For example:

    artifacts:
      - url: http://example.com/artifacts1
      - url: ssh://ostree@example.com/artifacts2

The OSTreeCache class is updated to set up multiple remotes and query
remote refs from all of them.

There are no automated tests for this yet.

Empty URLs ('') now raise an exception. They cause breakages internally
if we allow them through, and they can only occur if the user or our
tests are misconfiguring things somehow.

We report failure to fetch from the cache by printing a message to
stderr for now. This is because BuildStream's actual logging
functionality can't be used during frontend init -- see issue #168.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/testutils/artifactshare.py: Added scaffolding for artifact shares</title>
<updated>2017-09-05T05:58:25+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-09-04T20:56:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=6e6fc965665b2cbfc5bc23a422fd45e6a9a89c5e'/>
<id>6e6fc965665b2cbfc5bc23a422fd45e6a9a89c5e</id>
<content type='text'>
So we can create artifact shares and use them easily
in test cases for pushing and pulling artifacts from a share.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So we can create artifact shares and use them easily
in test cases for pushing and pulling artifacts from a share.
</pre>
</div>
</content>
</entry>
</feed>
