In this article Alessandro provides an overview of Abstract Syntax Trees (ASTs), introduces a few use-cases, and showcases the ast module in the Python Standard Library. The content is structured in a top-down fashion, starting from general notion about an AST, and digging deeper up to the point of artificially manipulating an AST to “randomize” the content of some instructions.
Articles on Mutpy
Exploring the Mutpy Library and How PyBites Uses it to Verify Test Code
By Harrison Morgan on 9 February 2020
A while back we launched our Test Bites. In this follow up article Harrison explains the MutPy mutation testing tool in depth and how we use it to verify test code on our platform. Enter Harrison.
There’s no Wrong Way… to Eat a Bite of Py
By AJ Kerrigan on 27 November 2019
There are many ways to tackle a Bites of Py exercise, try them all!
You can now hone your testing / pytest skills on our platform
By Bob Belderbos on 18 November 2019
Writing test code is an essential skill. As PyBites we believe writing code is the only solution to becoming a master (Ninja) at programming. The same applies to test code. For that reason we extended our regular exercises with Test Bites. In this article you will read about the feature showcasing it on our first ever Test Bite. We also share some details around implementation and a challenge we hit getting it to work. Enjoy and start honing your testing skills today!