Tagged in testing :
H2 Framework: How We Test Our Automated Investing Infrastructure
At Wealthfront, we build automated investing systems that manage client portfolios with meticulous care by incorporating a large set of rules, optimizations, and input data. Testing such complex systems is inherently challenging; small code changes can interact in unexpected ways, which makes it crucial to have a robust framework that validates our investing decisions. To… Read more
Our Journey to Building a Scalable SQL Testing Library for Athena
Our analytics team plays a vital role in maintaining high-quality data that drives everything from key reports to experiments aimed at improving our products. Ensuring data reliability is critical, and to achieve this, we’ve built a robust SQL testing library for Athena. A strong data foundation isn’t just about accuracy—it’s about reliability. That’s why testing… Read more
How 40 Lines of Code Sped Up iOS End to End Tests by over 50%
At Wealthfront, testing is one of our core engineering principles—in the form of unit and end-to-end testing on all platforms. The iOS team in particular manages its own CI infrastructure to run tests against an integration server mirroring our production environment. With roughly 30k unit tests and nearly 1k iOS end-to-end tests (and counting), speeding… Read more
Speed Up Your Android Tests: Gradle Plugin for Unit Test Filtering
Writing tests is a fundamental part of writing good software. They help us to catch bugs, be confident in our changes and serve as documentation. At Wealthfront, our Android team relies heavily on our automated test suite to maintain productivity and code quality — until we hit a snag. With our codebase maturing and our… Read more
Streamlining Asynchronous Programming on Android
Background Asynchronous programming plays a vital role in mobile development, ensuring that applications remain responsive to user input even while fetching data from databases or networks. At Wealthfront, we heavily rely on asynchronous programming for making network calls to the Wealthfront API server on Android. Initially, RxJava was the go-to choice for this purpose, serving… Read more
Creating Android Lint Checks: A Survival Guide
At Wealthfront, we’ve observed that the cost of resolving an issue becomes exponentially higher the later it is discovered. For example, a defect discovered at design time is far easier to resolve than one which has already reached our clients. And between those extremes, we can discover issues at code authoring, compilation, or automated test… Read more