• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Automated testing - what do you do?

  • 47
    Posts
    4
    Years
    • Seen yesterday
    As the title says, I'm interested in understanding what tools and practices people are using for automated testing of their ROM hacks. There are some truly excellent tools developed with or for the decomps (e.g. Porymap, pokeemerald-expansion) but I haven't seen much discussion of testing (searching the forum brought up this post with 1 reply).

    One area that could be fruitful to explore is mGBA's scripting API. With this, it seems as though it would be possible to run tests that build the game, run through various button-presses (the pokeemerald-expansion's debug menu would be useful to skip ahead through the game, here), and then check certain parts of the game's state (and/or taking screenshots of the game at that point). The mgba-http project looks interesting for its ability to open up the scripting API to any programming language.

    Are there any good tools out there for testing? What are people using? And has anyone explored mGBA scripting?
     
    As the title says, I'm interested in understanding what tools and practices people are using for automated testing of their ROM hacks. There are some truly excellent tools developed with or for the decomps (e.g. Porymap, pokeemerald-expansion) but I haven't seen much discussion of testing (searching the forum brought up this post with 1 reply).

    One area that could be fruitful to explore is mGBA's scripting API. With this, it seems as though it would be possible to run tests that build the game, run through various button-presses (the pokeemerald-expansion's debug menu would be useful to skip ahead through the game, here), and then check certain parts of the game's state (and/or taking screenshots of the game at that point). The mgba-http project looks interesting for its ability to open up the scripting API to any programming language.

    Are there any good tools out there for testing? What are people using? And has anyone explored mGBA scripting?
    To clarify, because you mentioned the Pokeemerald-expansion, the expansion has its own testing suite built by MGriffin, which is used to keep the functionality of different things in check and ensure that nothing breaks between updates.

    And a huge et cetera. They're all in the project's test folder, as you can see in the links above.
    The tests that execute a preset battle can be executed inside the game by booting up the game's pokeemerald-test.elf file using mGBA.
     
    Back
    Top