Here's a quick, straightforward way to install Clojure on Linux or MacOS.Install JavaFirst, you need the JDK. You can get that in a lot of ways. It's nice to have a utility to help you manager versions of the Java JDK. asdf is such a version manager -- and currently, the best.Now with asdf, you can ...
How to run just one test with pytest.After you make your first test, you'll make hundreds more. But to run them all takes a lot of time. So if you're working in one corner of the code, just run the tests that you care about.Run a single fileTo run a single test file, such as pie_test.py, run:pytest ...
This is how you can watch for changes to your source file and re-run the test on change with pytest.Pytest needs a plugin to be able to watch for file changes. Install the simplest pytest setup, including installing this plugin, pytest-watch.Then you can use the ptw command in place of pytest.Use th...