<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Testing on code.kiwi.com</title><link>https://code.kiwi.com/tag/testing/</link><description>Recent content in Testing on code.kiwi.com</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 23 Mar 2023 18:23:50 +0000</lastBuildDate><atom:link href="https://code.kiwi.com/tag/testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Pytest Cassettes: Forget about mocks or live requests</title><link>https://code.kiwi.com/articles/pytest-cassettes-forget-about-mocks-or-live-requests/</link><pubDate>Tue, 24 Nov 2020 19:12:00 +0000</pubDate><guid>https://code.kiwi.com/articles/pytest-cassettes-forget-about-mocks-or-live-requests/</guid><description>&lt;p&gt;What if I told you that you can simply record API communication on cassette and replay it anytime you want? Setup takes literally minutes, but imagine all the saved time on mocking all external communication? Priceless!&lt;/p&gt;</description></item><item><title>Cypress: Setting up the first acceptance tests in Gitlab CI pipeline</title><link>https://code.kiwi.com/articles/cypress-setting-up-the-first-acceptance-tests-in-gitlab-ci-pipeline/</link><pubDate>Mon, 14 Sep 2020 19:57:00 +0000</pubDate><guid>https://code.kiwi.com/articles/cypress-setting-up-the-first-acceptance-tests-in-gitlab-ci-pipeline/</guid><description>&lt;p&gt;Late evening calls, reverted releases, lost revenue, and eventually fear of touching anything in legacy code not to break something. Nobody likes that. Do you know what is one of the best ways to avoid this? Integration tests!&lt;/p&gt;</description></item><item><title>Find a flight using Kiwi.com and Postman</title><link>https://code.kiwi.com/articles/find-a-flight-using-kiwi-com-and-postman/</link><pubDate>Mon, 15 Jun 2020 18:42:00 +0000</pubDate><guid>https://code.kiwi.com/articles/find-a-flight-using-kiwi-com-and-postman/</guid><description>&lt;p&gt;✈️ How long does it take Kiwi.com to find you a flight from Iceland to Mongolia?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://code.kiwi.com/images/media/27a964b8ad71900ceee45c2db34fac90c2c1df3d26092b7f96963a0514571a03.webp" alt=""&gt;&lt;/p&gt;
&lt;h2 id="-prerequisites"&gt;???? Prerequisites&lt;/h2&gt;&lt;p&gt;As preparation, follow these &lt;strong&gt;2 simple steps&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;✅ &lt;a href="https://www.postman.com/downloads/"&gt;download, install &amp;amp; register at Postman&lt;/a&gt; (5 minutes )&lt;/p&gt;
&lt;p&gt;✅ open &lt;a href="https://airportcod.es/"&gt;this site&lt;/a&gt; and choose 2 airports. The first one as a departure point and the second one as an arrival point. Write down their codes (5–50 minutes depending on your indecisiveness)&lt;/p&gt;</description></item><item><title>Schemathesis: property-based testing for API schemas</title><link>https://code.kiwi.com/articles/schemathesis-property-based-testing-for-api-schemas/</link><pubDate>Tue, 26 Nov 2019 18:14:00 +0000</pubDate><guid>https://code.kiwi.com/articles/schemathesis-property-based-testing-for-api-schemas/</guid><description>&lt;p&gt;&lt;img src="https://code.kiwi.com/images/media/c9c0748dcc5ba5f01650eecefcd12eef0bef3a46456a671df5e66cf359ec5f98.webp" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Photo by &lt;a href="https://unsplash.com/@chris_keats?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Chris Keats&lt;/a&gt; on &lt;a href="https://unsplash.com/photos/oyMfVYRdzkg"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Many companies have moved from monoliths to microservices for better scalability and faster development cycles and so have we at &lt;a href="https://www.kiwi.com/"&gt;Kiwi.com&lt;/a&gt;. We still have monolithic applications, however they are melting away over time and a swarm of shiny microservices is gradually replacing them.&lt;/p&gt;</description></item><item><title>Testable code: making the (testing) world better</title><link>https://code.kiwi.com/articles/testable-code-making-the-testing-world-better/</link><pubDate>Thu, 23 Aug 2018 11:34:00 +0000</pubDate><guid>https://code.kiwi.com/articles/testable-code-making-the-testing-world-better/</guid><description>&lt;h2 id="testable-code-making-the-testing-world-better"&gt;Testable code: making the (testing) world better&lt;/h2&gt;&lt;p&gt;What does it mean to have testable code? In general, it means, that the code is easy to test and it’s easy to set up a testing environment. Sometimes it’s tough to make code testable, especially in a large, legacy codebase, but I’d like to tell you some approaches and tips, that could help you make your code more maintainable, understandable, and reliable.&lt;/p&gt;</description></item><item><title>20 Things To Do After Returning From PyCon 2018</title><link>https://code.kiwi.com/articles/20-things-to-do-after-returning-from-pycon-2018/</link><pubDate>Thu, 24 May 2018 11:15:00 +0000</pubDate><guid>https://code.kiwi.com/articles/20-things-to-do-after-returning-from-pycon-2018/</guid><description>&lt;p&gt;As always, &lt;a href="https://us.pycon.org/2018/"&gt;this year’s PyCon&lt;/a&gt; was full of interesting technologies and ideas. I took notes diligently and thought hey, why not just share them with all of you? Here’s a no-bullshit, no-filler list of all the actionable items that I noted down on my trip; in chronological order (and not order of importance).&lt;/p&gt;</description></item><item><title>Testing and How it Actually Saves Time ????</title><link>https://code.kiwi.com/articles/testing-and-how-it-actually-saves-time-%F0%9F%A4%94/</link><pubDate>Tue, 24 Jan 2017 20:43:00 +0000</pubDate><guid>https://code.kiwi.com/articles/testing-and-how-it-actually-saves-time-%F0%9F%A4%94/</guid><description>&lt;hr&gt;
&lt;p&gt;In November 2016, I had the great opportunity of travelling to Amsterdam and attending &lt;a href="https://www.djangounderthehood.com/"&gt;&lt;strong&gt;Django: Under the Hood&lt;/strong&gt;&lt;/a&gt; &lt;strong&gt;✨&lt;/strong&gt; for the first time. This is an important conference for Django developers and provides deep and detailed talks. It’s a great opportunity to find out what is happening, learn about the future plans for Django and to meet a lot of people from the Django community—most of them from the Django Core Team. ❤&lt;/p&gt;</description></item></channel></rss>