adis

joined 1 year ago
MODERATOR OF
nix
 

I was a bit unhappy with the state of unit testing and wanted a better experience when hacking on https://github.com/adisbladis/pyproject.nix so I ended up forking https://github.com/nix-community/nix-eval-jobs and turned it into a test runner rather than a threaded evaluator.

My previous test suite was a Python one that first inspected the test attribute names and then fired off one Nix process per attribute. This instead uses the Nix C++ API and allows you to do the same per-attribute eval failure catching without the process overhead.

My test runs locally took 3.5s for 5 tests and are now down to 70ms.

 

The access to medical cannabis in NZ is very new and correct information is very hard to come by. Businesses are not allowed to advertise products, pharmacies are not allowed to advertise stock levels, etc etc.

Currently the de facto space for the medical cannabis community in NZ to disseminate correct information is through the MedicalCannabisNZ community on reddit.

It would be amazing if we had a fediverse equivalent.