|
102 | 102 | <section id="blog-list"> |
103 | 103 | <h1>Blog</h1> |
104 | 104 |
|
| 105 | + <article class="blog-list"> |
| 106 | + <div class="header"> |
| 107 | + <a href="/blog/kiwi-tcms-team/2017/12/08/kiwi-tcms-python-api-client/" rel="bookmark" title="Permalink to Kiwi TCMS Python API client"> |
| 108 | + <h1 class="top-header">Kiwi TCMS Python API client</h1> |
| 109 | + </a> |
| 110 | + |
| 111 | + <p class="post-meta">Posted by |
| 112 | + <a href="/blog/kiwi-tcms-team/">Kiwi TCMS Team</a> |
| 113 | + on Fri 08 December 2017 |
| 114 | + </p> |
| 115 | + </div> |
| 116 | + |
| 117 | + <div class="content"> |
| 118 | + <p>We are happy to announce the first official release of the |
| 119 | +<a href="https://pypi.org/project/tcms-api/">tcms-api</a> package! |
| 120 | +This is a Python client for Kiwi TCMS.</p> |
| 121 | +<p>There are couple of main distinctions in this module:</p> |
| 122 | +<ul> |
| 123 | +<li>mutable vs. immutable types of objects</li> |
| 124 | +<li>high-level class interface vs. low-level XML-RPC interface</li> |
| 125 | +</ul> |
| 126 | +<p>For more information you should check-out the documentation |
| 127 | +and the <code>script_examples/</code> directory.</p> |
| 128 | +<p>At the moment the API client is both Python2 and Python3 compatible, |
| 129 | +however it is tested only under Python3!</p> |
| 130 | +<h2>A bit of history</h2> |
| 131 | +<p>The original API client, like Kiwi TCMS itself began its origin under a |
| 132 | +different name and was created primarily by Petr Splichal. Since then |
| 133 | +Kiwi TCMS has evolved and we've decided that the API module needs to evolve |
| 134 | +as well. At the moment the tcms-api module is a bit rough around the edges, |
| 135 | +its documentation is not really the best one and it's currently advisable |
| 136 | +to spend some time reading the code to figure out how everything works.</p> |
| 137 | +<p>We're going to improve on all of these areas and we need help from the community |
| 138 | +to do so! Please download the <code>tcms-api</code> module, check it out, write and contribute |
| 139 | +example scripts (you can use the demo site for this), send us bug reports, suggestions |
| 140 | +and pull requests!</p> |
| 141 | +<p>Happy testing!</p> |
| 142 | + </div> |
| 143 | + </article> |
| 144 | + <article class="blog-list"> |
| 145 | + <div class="header"> |
| 146 | + <a href="/blog/kiwi-tcms-team/2017/11/28/kiwi-tcms-version-348/" rel="bookmark" title="Permalink to Kiwi TCMS version 3.48"> |
| 147 | + <h1 class="top-header">Kiwi TCMS version 3.48</h1> |
| 148 | + </a> |
| 149 | + |
| 150 | + <p class="post-meta">Posted by |
| 151 | + <a href="/blog/kiwi-tcms-team/">Kiwi TCMS Team</a> |
| 152 | + on Tue 28 November 2017 |
| 153 | + </p> |
| 154 | + </div> |
| 155 | + |
| 156 | + <div class="content"> |
| 157 | + <p>We're proud to announce Kiwi TCMS version 3.48! |
| 158 | +This is the first release to be announced on our blog and it is also an |
| 159 | +important one!</p> |
| 160 | +<p>Kiwi TCMS 3.48 introduces new versions of Django and Patternfly, |
| 161 | +a Python API client library, many bug-fixes and updated documentation.</p> |
| 162 | +<h2>Changes since KiwiTCMS 3.44</h2> |
| 163 | +<ul> |
| 164 | +<li>Update to Django 1.11.7 (Mr. Senko)</li> |
| 165 | +<li>Update documentation including high level information |
| 166 | + about how data is organized within Kiwi TCMS and how to work |
| 167 | + with the system. (Mr. Senko)</li> |
| 168 | +<li>Stop caching report views. (Mr. Senko)</li> |
| 169 | +<li>Make test execution comments optional. Fixes |
| 170 | + <a href="https://github.com/MrSenko/Kiwi/issues/77">Issue #77</a>. (Mr. Senko)</li> |
| 171 | +<li>Escape special symbols when exporting JSON. |
| 172 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/78">Issue #78</a>. (Mr. Senko)</li> |
| 173 | +<li>Remove Test Run export to XML functionality in favor of API. |
| 174 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/79">Issue #79</a>. (Mr. Senko)</li> |
| 175 | +<li>Make it possible to search Test Runs via Env properties. |
| 176 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/82">Issue #82</a>. (Mr. Senko)</li> |
| 177 | +<li>Display Environment properties in Test Run search results. (Mr. Senko)</li> |
| 178 | +<li>Allow bulk update TestCase.default_tester via email. |
| 179 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/85">Issue #85</a>. (Mr. Senko)</li> |
| 180 | +<li>Don't crash reports when there are untested TestCaseRuns. |
| 181 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/88">Issue #88</a>. (Mr. Senko)</li> |
| 182 | +<li>Bind localhost:80 to container:80. |
| 183 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/99">Issue #99</a>. (Mr. Senko)</li> |
| 184 | +<li>Enable testing with Python 3.6 in preparation for migration. (Mr. Senko)</li> |
| 185 | +<li>If JIRA isn't fully configured then don't connect. Fixes |
| 186 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/100">Issue #100</a>. (Mr. Senko)</li> |
| 187 | +<li>Pin patternfly version to 3.30 and update templates. |
| 188 | + Fixes <a href="https://github.com/MrSenko/Kiwi/issues/120">Issue #120</a>. (Mr. Senko)</li> |
| 189 | +<li>Show status name rather than status id in TestCaseRun change log. (Chenxiong Qi)</li> |
| 190 | +<li>[api] Adds a Python API client with changes that make it possible to |
| 191 | + execute on both Python 2 and Python 3. For now take a look at |
| 192 | + <code>tcms_api/script_examples/</code> for examples how to use it.</li> |
| 193 | +<li>[api] Remove experimental support for Teiid. (Mr. Senko)</li> |
| 194 | +<li>[api] Cache level defaults to <code>CACHE_NONE</code> if not set. (Mr. Senko)</li> |
| 195 | +<li>[api] Remove persistent cache, in-memory caching is still available. (Mr. Senko)</li> |
| 196 | +<li>[api] Remove multicall support. (Mr. Senko)</li> |
| 197 | +</ul> |
| 198 | +<p><strong>IMPORTANT:</strong> this release introduces new database migrations!</p> |
| 199 | +<p><em>NOTE:</em> the API client has been initially developed as the <em>python-nitrate</em> |
| 200 | +project by Petr Splichal and other contributors! We've decided to fork their |
| 201 | +code base into Kiwi's repository and continue further development in a central |
| 202 | +place. This makes it easier testing the API server and client together and |
| 203 | +allows us to move more rapidly! </p> |
| 204 | +<p>As of now there isn't a lot of documentation |
| 205 | +and examples on how to use the API client but we are looking to improve this. |
| 206 | +Additional documentation and examples will be published in the project's |
| 207 | +repository or on this blog!</p> |
| 208 | +<h2>How to upgrade</h2> |
| 209 | +<p>If you are using Kiwi TCMS as a Docker container then</p> |
| 210 | +<div class="highlight"><pre><span></span><code>cd Kiwi/ |
| 211 | +docker-compose down |
| 212 | +make docker-image |
| 213 | +docker-compose up -d |
| 214 | +docker exec -it kiwi_web /Kiwi/manage.py migrate |
| 215 | +</code></pre></div> |
| 216 | + |
| 217 | +<p>Happy testing!</p> |
| 218 | + </div> |
| 219 | + </article> |
105 | 220 | <article class="blog-list"> |
106 | 221 | <div class="header"> |
107 | 222 | <a href="/blog/kiwi-tcms-team/2017/11/03/testing-testing-it-works/" rel="bookmark" title="Permalink to Testing, testing. It works!"> |
|
0 commit comments