David Arnold
David Arnold
@akhilnarang What are your thoughts on this Quality of Life improvement? I kind of depend on it to effectively run tests locally (be able to create a new db on...
I'll check again, I was operating on different info. Thx! For the time being, I need to setup my environment again: ```sql ALTER USER 'root'@'localhost' IDENTIFIED BY 'root'; FLUSH PRIVILEGES;...
Standard Bench ```console ~/frappe-bench/bench via 🐍 v3.12.5 (env) took 3s ❯ bench new-site test-runner.local --force MySQL root password: ```
This PR is part of an automated refactoring process. It has passed all checks and will be automatically merged.
@ruthra-kumar Turns out, after bisecting, that this was the most "offending" test among 181 which weren't yet `FrappeTestCase`es, now `IntegrationTestCase`es.
@ruthra-kumar My plan is to make a couple of test case environments which can work without a database and run immediately. Basically suitable to run under a `watchexec` loop for...
> Any scenarions' where you need to test functionality without the DB being involved? Yep, there are quite some in core, but then or in other apps (take `payments#53` refactor...
Ah, and I forgot. :smile: On the CLI `run-tests` there is a predefined test order, first `unit`, then TDB test categories, and finally `integration`. One can select with `bench run-tests...
Yep, you're right. That's not good. I'll try to do a writeup asap to better puzzle the pieces together.
For now, I'm still in a state of breaking things in interesting ways to find out more about the thing that breaks :smile: