Guard of Buckingham Palace by MaryG90 is licensed under [CC BY-SA 3.0] (http://creativecommons.org/licenses/by-sa/3.0)
Guard is Your Friend
Test-driven development can be a little slow going, jumping between your code and your console, and targeting tests by line is prone to error. Use these tools and techniques to streamline your TDD.
How We Develop Mobile Applications - Pt 3 - Android
Learn how to use Test-Driven Development to interact with a remote JSON API using Retrofit, Moshi, and RxJava
Testing an Uploaded File in Rspec
Sometime you need to test how your code handles an uploaded file, but you don’t want to upload it in your test. Luckily, there’s an easy way to handle this.
Troubleshooting Feature Specs
Figuring out why your feature tests are failing can be difficult, especially when setting up the first few tests in the codebase.
Retrofitting Espresso
You don’t need an IdlingResource
, and sleep()
is fickle. Make Espresso wait for your observables running on background schedulers with this one cool trick!
Stubbing your Android Intents
When we stub an intent, we are able to intercept it so the intent is never sent to the system, and specify how it should respond. This can be helpful in your Android tests when you need to know if an intent was sent, but you don’t actually need the Activity to start. This can be accomplished by using espresso-intents.
Testing for Android Intents Using Espresso
Using espresso-intents for testing Android Activity Intents
Fixing Intermittent Failing Tests
Some tricks to help you fix tests that sometimes fail.
Cucumber exiting with 0 on failure?
Check your at_exit callbacks.
Are your Google Tags Installed Correctly?
Often, people are left unsure if their Google tags have been installed correctly on their website. This simple tool helps troubleshoot installation of tracking codes and tags to see if yours are working correctly, or better yet, to see if you’re being tracked.
Mocking HTML5 API's Using PhantomJS Extensions
Recently one of our projects called for using the browser’s Geolocation API. We were excited about this project. However, we had an immediate concern about how to test a feature that interacts with one of the browser’s built in APIs.
Debugging Firefox Failures on Travis
When strange failures are plaguing Firefox during Travis CI test runs, get a hold of Travis Support, they’ll help you out!
Becoming a Rubyist
I joined Collective Idea six months ago. In that time, I’ve had the chance to throw myself into a new language. Just like learning a new spoken language, learning a new programming language means learning a new way of thinking. Here are some of my reflections on becoming a Rubyist.
Clicking any element with Cucumber and Capybara
We’ve been testing a lot of Javascript heavy apps these days with Cucumber and Capybara, and sometimes you just need to click on something that isn’t a button or a link.
Stop lying.
“I don’t have time to test” seems to be somewhat of a recurring theme in hurried projects. Stop lying to yourself—and your clients.