Posts by Frank Wiles

Frank Wiles

Pro-Tip - "En-Rich" your Python testing

Test output is often an afterthought. You can improve your flow and slightly gamify your bug hunting by combining the wonderful Rich Python library and pytest.

Frank Wiles

Pro-Tip - pytest fixtures are magic!

Fixtures are building blocks for good tests and can increase development speed. The main issue with writing tests is setting up necessary data before the test, but pytest fixtures make it easier by injecting necessary data into your tests.

Frank Wiles

REVSYS is 16 Years Old Today!

Find out the details of our origin story along with examples of some of the more interesting projects we've tackled in our history.

Frank Wiles

devdata - Improving developer velocity and experience

Developers are the largest expense with software. Improving their productivity doesn't just make sense to the company's bottom line, but it improves morale as they no longer have to wade through a bunch of crap to get started on the job at hand. This data generation technique helps improve your developer experience and testing.

Frank Wiles

Pro-Tip - Breaking up django-ninja views

A simple import trick to make it easy to keep your django-ninja view functions in different Django apps and files.

Frank Wiles

Pro-Tip - Nullable DRF FloatFields and Javascript

Sometimes you want your FloatFields to be nullable, but your JS code isn't quite smart enough to handle it.

Frank Wiles

Pro-Tip - Helpful Shell alias to git repo root

I created a simple `r` shell alias that will take me to the root of the current git repository. As this is a common thing I need to do on my Mac BookPro when I've been exploring deep into a code base and now need to run some command at the root.

Frank Wiles

Keeping Django Models Ordered

How to smartly keep a set of Django ORM objects in order for drag-n-drop like situations.

Frank Wiles

pytest support for django-test-plus

django-test-plus has long been a useful helper library with Django. Now we've added some simple pytest fixture support to make it even more useful!

Frank Wiles

Today I Learned - Testing import file mismatch

Ran into a weird error with coverage, pytest, and Travis today and wanted to document an easy fix when you get a 'import file mistmatch' error from pip packages you do not control.

Prev 1 2 3 4 5 6 7 8 9 10 Next