This is a documentation for Board Game Arena: play board games online !
Testing by developer: Difference between revisions
Victoria La (talk | contribs) No edit summary |
|||
| (25 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
When you develop a game | When you develop a game you obviously have to test it, this page collects the info about testing in one place | ||
== Manual Testing on BGA == | == Manual Testing on BGA == | ||
For manual testing most important things to know | For manual testing the most important things to know are: | ||
* how to start/stop game in one click | * how to start/stop game in one click | ||
* how to switch between players in one click | * how to switch between players in one click | ||
| Line 10: | Line 10: | ||
* how to construct the game state automatically | * how to construct the game state automatically | ||
All of these described here https://en.doc.boardgamearena.com/Tools_and_tips_of_BGA_Studio | All of these described here https://en.doc.boardgamearena.com/Tools_and_tips_of_BGA_Studio | ||
There is also HUGE checklist of things you need to test manually which you may not even think about, defined here https://en.doc.boardgamearena.com/Pre-release_checklist | |||
== Manual Testing locally == | == Manual Testing locally == | ||
| Line 21: | Line 23: | ||
== Automated Testing == | == Automated Testing == | ||
[https://doc.studio.boardgamearena.com/framework-documentation/back-end/php-unit-testing/ <span class="mw-ui-button mw-ui-progressive mw-ui-big">Back-end (PHP)</span>] | |||
< | |||
< | |||
< | [https://doc.studio.boardgamearena.com/framework-documentation/front-end/unit-testing/ <span class="mw-ui-button mw-ui-progressive mw-ui-big">Front-end (JS/TS)</span>] | ||
== Play testing on studio == | == Play testing on studio == | ||
Latest revision as of 16:14, 16 November 2026
When you develop a game you obviously have to test it, this page collects the info about testing in one place
Manual Testing on BGA
For manual testing the most important things to know are:
- how to start/stop game in one click
- how to switch between players in one click
- how to save/restore the game state
- how to construct the game state automatically
All of these described here https://en.doc.boardgamearena.com/Tools_and_tips_of_BGA_Studio
There is also HUGE checklist of things you need to test manually which you may not even think about, defined here https://en.doc.boardgamearena.com/Pre-release_checklist
Manual Testing locally
HTML/CSS At this era the file sync is almost instant so you do not save much by doing this locally, however if internet is a challenge - here are some tips https://en.doc.boardgamearena.com/Tools_and_tips_of_BGA_Studio#Speed_up_CSS_development_and_layout
PHP You can run and debug php locally using tip https://en.doc.boardgamearena.com/BGA_Studio_Cookbook#Creating_a_test_class_to_run_PHP_locally
Automated Testing
Play testing on studio
To play test on studio you can use your test accounts dev0... dev9. You can give some of these account to other people just make sure you change the password. You should not encourage other people who are not developers to create studio account, this is against bga policy.