Skip to content

WritingTests.md

Noah Gibbs edited this page Oct 10, 2023 · 2 revisions

Writing Tests in Scarpe

Scarpe has multiple testing languages. I'd recommend looking into CatsCradle right now if you're using Webview or Capybara if you're using Wasm for your display library.

In general we can use more tests. Even the basic drawables tend to be short on tests to assert that their Shoes properties and display properties get properly set when you mess around with them. You could also put together an app, see what doesn't work right and write a test to show the problem. We'd love to fix it!