<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Team: Igniter from Houston Inc on Medium]]></title>
        <description><![CDATA[Stories by Team: Igniter from Houston Inc on Medium]]></description>
        <link>https://medium.com/@teamigniter?source=rss-80b1e0b616fd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*P3Y1fimLzcX7hjlCZVwdCQ.png</url>
            <title>Stories by Team: Igniter from Houston Inc on Medium</title>
            <link>https://medium.com/@teamigniter?source=rss-80b1e0b616fd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 03:37:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@teamigniter/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Team over group of randoms: 8 reasons why]]></title>
            <link>https://medium.com/houston-io/team-over-group-of-randoms-8-reasons-why-922b28d23bd1?source=rss-80b1e0b616fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/922b28d23bd1</guid>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[teamwork]]></category>
            <dc:creator><![CDATA[Team: Igniter from Houston Inc]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 07:30:55 GMT</pubDate>
            <atom:updated>2020-08-18T07:30:55.610Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2mW2maqga1zVzoxI4FwFYQ.png" /></figure><p>Our observation is that when it comes to software development, an established <strong>team outperforms a group of randoms</strong> by, like, a <strong>serious margin</strong>. Maturing of a software team is certainly something that happens naturally with time, but the point being driven is that starting from a sufficient level of maturity makes more sense.</p><p>Here we approach this proposition by pitting some examples against some counter examples.</p><h3>Before reading</h3><h4>On Team as a Service</h4><p>Offering teams for hire is sometimes called “Team as a Service”, or <strong>TaaS</strong>. Although, we think that most of the players in this field are doing it a bit incorrectly. Our adjustment for this is that a Team needs to already have <strong>grown together</strong> into maturity, instead of being assembled when required. This “late assembly of a team” would still leave the client with the bill, risk and delay for the maturing process.</p><h4>Definition of Group of Randoms</h4><p>In this article, when talking about a group of randoms, we mean a group of people that have <strong>not done a software project together before</strong>.</p><h4>Definition of a Team</h4><p>When talking about a Team, we mean that it should:</p><ul><li>Have survived at least <strong>one project</strong> before.</li><li>Be <strong>converged</strong> on mutual development practices and level of quality.</li><li>Get along.</li><li>Maybe have some accumulated <strong>tech and solutions</strong> for reuse.</li></ul><h3>Examples and counter-examples</h3><blockquote>Imagine it is a cold and stormy night. You hear wolves howling. With your favorite tea-cup in hand, snuggling warmly by the fireplace, it suddenly happens: you are struck with The Idea. And indeed, you want to go somewhere with it. You realise that to make the idea happen, you will need software professionals.</blockquote><blockquote>Having given a name to The Beast, you descend into a deep state of concentration while you meditate on the subject. You feel your mind leaving your body and see the life-cycle of the project forming before you. Concept of time loses significance. A dead shaman hands you a pergament of <strong>8 arguments</strong> for your consideration.</blockquote><h4>1. Before going anywhere</h4><p><strong>A group of randoms</strong>: needs to be assembled. Someone will need to be responsible for gathering a working collection of required competences (eg. front-end, backend, UX, architecture, leadership, DevOps, agile specialist, database specialist, cloud engineer, usability expert, test automation expert, graphic designer, etc.) as people. This is tricky, and takes time.</p><p><strong>A Team</strong>: is ready for holistic software development. Most general competences are already there, and what is missing can be compensated with the time saved in assembly. This can mean letting the Team pick up a new skill as it goes, or by complementing the Team by onboarding a specialized member (eg. AI-specialist, data-scientist or maybe a blockchain-expert).</p><p><strong>How it feels when done right</strong>: you feel like you have made it easy with this one. Your scars of doing this the last time have not yet healed.</p><h4>2. Getting going</h4><p><strong>A group of randoms</strong>: starts with very little. Convergence on stuff like build automation, code reviews, architecture, favored libraries, test-coverage, quality, etc. takes its time. Pushing forwards without agreement, risks consistency of code-base and thus velocity.</p><p><strong>A Team</strong>: has an initial agreement on general stuff, and also has a familiar way of communicating with each other. Being able to move mountains as a unified front means a running start.</p><p><strong>How it feels when done right</strong>: early flow of features and business value translate to trust, and simply a good bang for the buck, especially when cost-of-delay is a metric.</p><h4>3. Keeping going</h4><p><strong>A groups of randoms</strong>: is more prone to accumulate unmaintainable technical debt due to lack of shared responsibility. This damages the velocity.</p><p><strong>A Team</strong>: may have started strong, but also keeps going strong by not letting code base fester and rot as a shared effort. The Team knows that the only way to go fast is to go well.</p><p><strong>How it feels when done right</strong>: a steady accumulation of business value means no friction in reporting your’s and the Team’s accomplishments further up in the chain of command. Progress remains constant and predictable.</p><h4>4. Going well</h4><p><strong>A group of randoms</strong>: may have diverged opinions of what constitutes quality code. Fixing bugs in production is considered part of the job, with no requirement for introspection. The variations in quality can go unnoticed for a long time. Technical debt creeps in. Velocity is whimsical. There are talks of big rewrites.</p><p><strong>A Team</strong>: has grown to abhor bugs and prides in well-polished features. Mechanisms of automated quality control are in place. The bar of excellence is universally set high, and no individual is alone responsible for upholding it. Reasons behind dips in velocity are carefully examined.</p><p><strong>How it feels when done right</strong>: you feel pride in the quality of the project, and you are eager to see where it can go in the future.</p><h3>Interruption!</h3><blockquote>A booming crash breaks your attention in the middle of yet another top-X list. Peeking out of the window you notice that a tree has taken a blow from a bolt of lightning just some 50 meters away. What does this mean? Are you being warned somehow? Have you angered the internet trolls? Are you being too unconditional with your thesis? You shrug it all off, fill your tea-cup and carry on with the list.</blockquote><h4>5. Going wherever it makes sense</h4><p><strong>A group of randoms</strong>: are most likely not there yet when it comes to reacting to change, as making this happen takes more than individuals. Instead, change is perceived as an inconvenience, and thus more fixed specification are preferred. Despite superficial claims of agility, waterfall emerges.</p><p><strong>A Team</strong>: knows it takes team-effort to build a ship-of-software free to change its course, and also to actively seek the best course. All this is supported by eg. design philosophies, short feedback cycles and test automation.</p><p><strong>How it feels when done right</strong>: changes in requirements and priorities are received business-as-usual. Common sense prevails. You feel nimble and agile.</p><h4>6. Going manageable</h4><p><strong>A group of randoms</strong>: have probably not yet evolved to the acquired taste of creating visibility on team level. Lack of means for informed decision making causes things to happen on their own weight. Decisions are based on feelings instead of fact.</p><p><strong>A Team</strong>: has a culture of providing visibility to the overall plan, and progress taking place. This could mean visibility on velocity, burn-down, acceptance tests, estimation, budget, etc. The Team has backbone to be brutally honest to deliver hard truths.</p><p><strong>How it feels when done right</strong>: you know what is going on, and what is the health of the project. You have means to make informed decisions. You can make credible predictions. You are rest assured to be well informed even with bad news. You feel in control.</p><h4>7. Going less risky</h4><p><strong>A group of randoms</strong>: is an unnecessary risk. Sometimes mixing a new set of egos together makes conflicts boil under. This jeopardises employee retention, motivation and project success overall.</p><p><strong>A Team</strong>: already knows how to get along. Possible conflicts have already been solved long ago, or the Team has no problem solving them independently.</p><p><strong>How it feels when done right</strong>: an atmosphere of professionalism and mutual respect prevails. You do not feel burdened by problems not belonging to you. You feel relaxed that the project operates on a solid chemistry between people.</p><h4>8. After the authors are gone</h4><p><strong>A group of randoms</strong>: sometimes leave behind a less-than-maintainable mess with technical debt and no consistency between silos of roles and authors. Further changes cause breakage without notice. Cost of new features is prohibitively high.</p><p><strong>A Team</strong>: has used its hive-mind -like super-powers to produce a consistent code-base (design, cleanliness, code style, testing, documentation etc.), enabling onboarding and further development.</p><p><strong>How it feels when done right</strong>: you feel safe to scale, or to switch vendors. You are not fixed with a certain Team. You are free to have options.</p><h3>Summary</h3><p>The article explains why letting <strong>teams cycle projects</strong> instead of having <strong>projects cycle individuals</strong> is the better bet for <strong>risk taking, quality and value overall</strong>. This is not to say that singular items mentioned are impossible to be achieved by a group of randoms, but instead are unlikely to manifest as feasible investment in a scope of single project starting from zero.</p><blockquote>“Finding good players is easy. Getting them to play as a team is another story”</blockquote><blockquote>— Casey Stengel, a baseball manager</blockquote><blockquote>The dead shaman does not smile as you part ways, but somehow you know that there now exists a deeper understanding between the two of you. And also the universe.</blockquote><h3>Who are we?</h3><p>This article was written by Your Pals at <a href="https://team.igniter.houston.io/">Team: Igniter</a> from <a href="https://houston-inc.com/">Houston Inc. Consulting</a>.</p><p>We are a software development team of friends, with proven tradition in professional excellence. We specialize in holistic <strong>rapid deployments</strong> without sacrificing <strong>quality</strong>.</p><p><a href="https://team.igniter.houston.io/">Check us out</a>, we just might be available for hiring ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=922b28d23bd1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/houston-io/team-over-group-of-randoms-8-reasons-why-922b28d23bd1">Team over group of randoms: 8 reasons why</a> was originally published in <a href="https://medium.com/houston-io">Houston I/O</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to unit test asynchronous code for JavaScript in 2020]]></title>
            <link>https://medium.com/houston-io/how-to-unit-test-asynchronous-code-for-javascript-in-2020-41c124be2552?source=rss-80b1e0b616fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/41c124be2552</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[jest]]></category>
            <category><![CDATA[asynchronous]]></category>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[unit-testing]]></category>
            <dc:creator><![CDATA[Team: Igniter from Houston Inc]]></dc:creator>
            <pubDate>Thu, 02 Jul 2020 06:30:14 GMT</pubDate>
            <atom:updated>2020-07-02T11:26:34.179Z</atom:updated>
            <content:encoded><![CDATA[<p>The text you are about to read describes an imaginary dialog between two programmers on their way to discover the <em>orgastic pleasures</em> of a library called <a href="https://github.com/team-igniter-from-houston-inc/async-fn"><strong>asyncFn</strong></a>.</p><p>asyncFn provides additional methods to eg. <a href="https://www.npmjs.com/package/@async-fn/jest">jest.fn</a> or <a href="https://www.npmjs.com/package/@async-fn/sinon">sinon.spy</a> to introduce “<strong>late resolve</strong>” for the promises returned by mock functions. This simplifies async unit testing by allowing tests that read chronologically, <strong>like a story</strong>.</p><p>From this, we get a <strong>new perspective</strong> of structuring and writing unit tests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EkebCl0J3nwEAiTuL7bomA.png" /></figure><h3>Foreword</h3><p>Be warned that we’ll also cover topics such as <strong>TDD</strong>, <strong>pair programming</strong>, <strong>evil pairing</strong>, and “<strong>negation testing</strong>”. They are not the main topic here, but some words are spared for them nonetheless to justify <strong>a way of thinking</strong>.</p><p>Best of luck, <em>Dear Reader</em>.</p><h3>Chapter 1: The premise and the foundation</h3><blockquote><strong><em>Fry</em></strong><em>: My name is Fry, and I find it difficult to unit test async-stuff in JavaScript.</em></blockquote><blockquote><strong><em>Leela</em></strong><em>: Tell me more.</em></blockquote><blockquote><strong><em>Fry</em></strong><em>: Yup, say I wanted to implement something to this specification:</em></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/562e66d052921d0ee635001fd2f18021/href">https://medium.com/media/562e66d052921d0ee635001fd2f18021/href</a></iframe><blockquote><strong><em>Fry</em></strong><em>: The kicker here is that in this game, prompting the player for action is </em>asynchronous<em>.</em></blockquote><blockquote><strong><em>Leela</em></strong><em>: Mm-hmm, I think I get it. Let’s get our hands dirty and see where it lands us.</em></blockquote><blockquote><strong><em>Fry</em></strong><em>: Here’s an initial test for good measure:</em></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d911e65ed211a68664d9434cc458fd7/href">https://medium.com/media/5d911e65ed211a68664d9434cc458fd7/href</a></iframe><p>Contents of ./monsterBeatdown.js so far:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/52a0197543aefecf78646094096ecb8d/href">https://medium.com/media/52a0197543aefecf78646094096ecb8d/href</a></iframe><blockquote><strong><em>Leela</em></strong><em>: Ok, so far so good. I see you chose to </em>inject<em> the mock-function for messaging the player as an argument for the function we are testing. Crystal. Full steam ahead.</em></blockquote><blockquote><strong><em>Fry</em></strong><em>: Right on. Next up will be my vision for asking the player if they want to attack, and if not, they lose.</em></blockquote><h3>Chapter 2: The problems emerge</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/883a7bdbca51b5dff5e948f24bfb34ca/href">https://medium.com/media/883a7bdbca51b5dff5e948f24bfb34ca/href</a></iframe><p>Contents of ./monsterBeatdown.js so far:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0998579d35eab02ca864122b21bb0cb5/href">https://medium.com/media/0998579d35eab02ca864122b21bb0cb5/href</a></iframe><blockquote><strong><em>Leela</em></strong><em>: Hold the phone. I see two problems here. One is the </em>duplication<em>, and the other one is about the test describing occurrences in </em>non-chronological order<em>, making the test harder to read. Let’s start by fixing the first problem.</em></blockquote><h3>Chapter 3: The clumsy fix</h3><blockquote><strong><em>Fry</em></strong><em>: Uh, I was just about to remove the duplication anyway. Red-green-refactor, right?</em></blockquote><blockquote><strong><em>Leela</em></strong><em>: Right.</em></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/03a3cb03544c4758c8e345cbfb60e555/href">https://medium.com/media/03a3cb03544c4758c8e345cbfb60e555/href</a></iframe><p>Contents of ./monsterBeatdown.js so far:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/41c073219da0e2469a79e94834f27c84/href">https://medium.com/media/41c073219da0e2469a79e94834f27c84/href</a></iframe><blockquote><strong><em>Fry</em></strong><em>: There. Now the duplication for the test setup has been removed, but only to a degree. However, the other problem of test not being written in chronological order prevents us from removing all the duplication. See how we are forced to repeat </em><em>game.encounterMonster() because </em><em>askPlayerToHitMock needs to know how to behave before it is called.</em></blockquote><blockquote><em>Worse yet, this makes the “describe” dishonest, as it claims to display how </em><em>&quot;given a monster is encountered&quot;, but in reality, this is something that happens only later in the test setup, if ever.</em></blockquote><blockquote><em>All this kind of bums me out, and I’ve felt </em>the pain<em> of this getting out of hand as in real-life requirements and features start to pile up. I know many ways to ease the pain a little bit, but nothing I’ve tried has left me comfortable.</em></blockquote><blockquote><strong><em>Leela</em></strong><em>: I see. Let’s now introduce </em>asyncFn<em> as an expansion to the normal jest.fn to tackle all.</em></blockquote><blockquote><em>Behold.</em></blockquote><h3>Chapter 4: The beholding of asyncFn</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f219089908dcbaef3f46ccf98ef3c178/href">https://medium.com/media/f219089908dcbaef3f46ccf98ef3c178/href</a></iframe><p>Contents of ./monsterBeatdown.js so far:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/31194dd483449eb6066a7975f6b7d56c/href">https://medium.com/media/31194dd483449eb6066a7975f6b7d56c/href</a></iframe><blockquote><strong><em>Leela</em></strong><em>: Now the duplication is gone, and everything takes place in clean, chronological order. It kind of reads like a story, don’t you think?</em></blockquote><blockquote><strong><em>Fry</em></strong><em>: Mm-hmm. I see it. I have a good feeling about it. But something is bothering me with the production code. I see that the tests are all green, but clearly, the code does not do anything sensical. It just blows through, merely satisfying the tests.</em></blockquote><blockquote><strong><em>Leela</em></strong><em>: You got me there. We are, in fact doing something called “</em>evil pairing<em>”. If you want to mold the production code your way, you need to order it from the universe by writing a test first.</em></blockquote><blockquote><em>Let me show you how.</em></blockquote><h3>Chapter 5: Evil is good and negative is positive</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/38e9475bfc9c305c48c81c77b0a5e19a/href">https://medium.com/media/38e9475bfc9c305c48c81c77b0a5e19a/href</a></iframe><p>Contents of ./monsterBeatdown.js so far:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dffde6d3cf822cd01a58101a6ac093d1/href">https://medium.com/media/dffde6d3cf822cd01a58101a6ac093d1/href</a></iframe><blockquote><strong><em>Leela</em></strong><em>: There. I’ve reduced the “evilness” of the code by adding something we call “negation tests”. By writing tests that describe what is </em>not<em> supposed to happen we forced the production code to make a little bit more sense.</em></blockquote><blockquote><em>And if you are wondering where the name “evil pairing” comes from, it comes from playing unit testing ping-pong in such a way that the production code is always written in the most evil way possible, ie. the code is non-sensical for real-life, yet it still satisfies the tests. The only way out of this is to force sense in production through unit tests.</em></blockquote><blockquote><em>Sometimes you can tell coders are evil pairing, from the evil laughter.</em></blockquote><blockquote><em>In general, this “evil pairing -mentality” helps produce code that is very robust for the sake of refactoring, and also allows programmers to hone their TDD-mojo a little bit more.</em></blockquote><blockquote><em>But I digress. However important this may be, it is slightly off-course. What is relevant is that asyncFn supports evil pairing as </em>a line of thinking<em>.</em></blockquote><blockquote><em>Let’s motor on.</em></blockquote><h3>Chapter 6: The multiplicity challenge and enlightenment</h3><blockquote><strong><em>Fry</em></strong><em>: For sure. Can we see how the game develops some steps further? Particularly, I’ve been suffering from testing of functions that are called </em>multiple times<em>, but still, return promises.</em></blockquote><blockquote><strong><em>Leela</em></strong><em>: I feel you. My guess is an asyncFn-mock will get called multiple times soon enough, when we start attacking the monster multiple times.</em></blockquote><blockquote><em>Let’s see how that pans out.</em></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5aa5cbeb8763b61b5a6121ef5e4b64d6/href">https://medium.com/media/5aa5cbeb8763b61b5a6121ef5e4b64d6/href</a></iframe><p>Contents of ./monsterBeatdown.js so far:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ecff1f78961592d02ccbbe9b4999e27c/href">https://medium.com/media/ecff1f78961592d02ccbbe9b4999e27c/href</a></iframe><blockquote><strong><em>Leela</em></strong><em>: There. Now the monster gets hit multiple times, all while things still happen in a clear order. Our work is done here.</em></blockquote><blockquote><strong><em>Fry</em></strong><em>: Color me enlightened. This has changed my view of the world as a programmer and a human being. I shall make sacrifices in your honor and get an asyncFn-tattoo. My grandchildren will know your name.</em></blockquote><h3>Summary</h3><p>Having witnessed <strong>the adventure</strong>, we’ve seen how the <strong>late resolve</strong> of asyncFn permitted troublesome tests, with awkward readability, to be refactored orderly as a story, with significantly better readability.</p><p>asyncFn is something that we, as a team, have used for multiple years now. It has categorically changed the way we approach unit testing of asynchronous code in JavaScript. Which we so adore.</p><p>See more about asyncFn for <a href="https://www.npmjs.com/package/@async-fn/jest">jest</a> or <a href="https://www.npmjs.com/package/@async-fn/sinon">sinon</a>.</p><h3>Who are we?</h3><p>asyncFn is lovingly crafted by Your pals at <strong>Team: Igniter</strong> from <a href="https://houston-inc.com/">Houston Inc. Consulting</a>.</p><p>We are a software development team of friends, with proven tradition in professional excellence. We specialize in holistic <strong>rapid deployments</strong> without sacrificing <strong>quality</strong>.</p><p>Come say hi at <a href="https://gitter.im/async-fn/community">Gitter</a>, <a href="/service/mailto:igniter@houston-inc.com">email</a> us, or check out the <a href="https://team.igniter.houston.io/">team itself</a>. We just might be available for hiring ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41c124be2552" width="1" height="1" alt=""><hr><p><a href="https://medium.com/houston-io/how-to-unit-test-asynchronous-code-for-javascript-in-2020-41c124be2552">How to unit test asynchronous code for JavaScript in 2020</a> was originally published in <a href="https://medium.com/houston-io">Houston I/O</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>