September 28, 2017 | Front-End
Existing tools for testing React Native apps are deeply coupled to a component’s rendered structure. By using the object traversal generator function from the last post, you can write tests that focus on content and stand up to changes that don’t affect behavior.
September 5, 2017 | Front-End
In my recent experience, getting started with React Native testing is a little rough since tpopular tools aren’t great for integrated testing. The first step is traversing the object tree of a rendered component. For that, generator functions are of great use!
December 27, 2016 | Leveling Up
It can be difficult to work up the courage to dig into machine learning. Luckily, many of the ideas are actually quite straightforward when you peel back the terminology.
December 15, 2016 | Back-End
Function composition is a technique used to build complex functions out of simpler ones. Elixir does not provide a mechanism for composing two functions into a new function. Let’s play with that a little and see what can be done.
September 14, 2016 | Back-End
If only there was a way to have Rails raise an error when an unexpected parameter is encountered out by strong params… Actually, there totally is!
July 26, 2016 | Back-End
Third-party solutions can solve difficult problems when you’re writing code, but relying on remote services makes writing automated tests more complicated. You can use fakes to solve this problem.
May 18, 2016 | Back-End
After spending a little time with Elixir, you might have found out its secret. Elixir embraces metaprogramming. In fact most of Elixir is written in Elixir. Let that sink in.