Login
You're viewing the assemblag.es public feed.
  • Sep 6, 2026, 4:37 PM

    Fully automated "cucumber style" BDD tests in #GodotEngine via #gdunit. Every gameplay feature is tested now e2e. 🥒
    ```
    @e2e @forging
    Feature: Forging
    Background:
    Given a ready player
    And the player equips a "copper hammer"

    Scenario: Forge a hot hammer blank
    Given the player carries a "copper hammer blank" at 10000 degrees
    When the player walks to the anvil
    And the player interacts
    And the player forges until completion
    ```
    #testing #gamedev

    Image attached toot
    💬 1🔄 1⭐ 0

Replies

  • Sep 6, 2026, 4:47 PM

    @bitbraindev this is pretty cool! I always found the idea of BDD interesting

    Is this a custom script parsing the scenario and hooking into gdunit? How does it find the methods for each step? I'm very curious about how it works! 😄

    💬 1🔄 0⭐ 0
  • 💬 0🔄 1⭐ 0