Best practices for testing complex app logic

Thank you for your note @Darren

How is one expected to test complex business logic?

I had hoped to return a function from a transformer and write another js query that exercises the transformer. That failed for various reasons.

My second attempt was to do it out of process by building a test library in vsc, but transformers aren’t synced down to VSC.

I’m at a loss for a retool testing strategy, any suggestions would be most welcome.

Great question, @amt! I've broken this out into a dedicated thread, because it sounds like your enquiry about VS Code is just a piece of the puzzle.

I'm hoping to get more context about your specific goals, as "testing" is a broad topic. We've long thought about the best way to write tests within Retool and actually came close to shipping a few different solutions. Nothing has stuck, though.

We currently recommend writing E2E webdriver tests using a tool like Playwright or Cypress.