Elixir has been designed taking inspiration from a number of other languages. This makes the developer experience to be one of the best available. This includes test runner support and the ever useful mix utility that hosts everything from project creation, dependency management, database migrations and repl support.
One feature that is slightly lagging is the test output support. Previously I had worked in Groovy using Gradle and Spock. The test output report was spectacular. You could generate a detailed report artifact, which was either a directory of html or a single zip file containg the same. This report would list all of the test suites with the ability to see the associated console output with the test. This becomes great to have in a CI setup as these can cheaply be stored in S3 which allows detailed investigation of historical failed test runs.
The following provides the hooks to improve the Elixir story. I have been considering writing one that produces a livebook as the output.
Currently the project will add the name of the current project before the summary line of tests passed and failed. The idea being that an umbrella project could report which project it was. This can make life a bit easier when dealing with a build server that only shows a limited span around failures.
The theory goes that an event sourced system has a perfect audit trail. However in practice this is only partially true.
It does have a complete history of all of the commands that have succeeded. It tells you nothing of the load on the read model and the failed commands. These require more detailed information that may reside in your observability system.
The UK currently has a cost of living crisis. Inflation is going through the roof and the only think being done to influence this is to put up interest rates! The argument for this is that if credit becomes more expensive people will reduce what they are spending. Are economists so stuck in 1970’s models that they can see nothing else?
Credit card use is not rising because credit is cheap, they are rising because costs are escalating. Adding to the interest on mortgages and credit cards won’t help control this. This will drive workers to ask for larger pay rises and will fix the interest rate growth as permanent.
Fuel price rises have a massive effect across the whole supply chain. We had protests in the UK when petrol first reached 1 GBP per litre, we are now at around 1.85 GBP.
We have a leadership contest going on between two people who are denying reality and aiming for the votes of a very small electorate. Neither candidate has a sensible plan (or indeed a mandate). One wants to control inflation and the other wants to cut tax.