diff --git a/src/SUMMARY.md b/src/SUMMARY.md index e75d8b3f..df30e8ff 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -53,6 +53,14 @@ SS14 By Example - [UI Survival Guide](en/ss14-by-example/ui-survival-guide.md) +Testing +============== +- [Introduction to Testing](en/testing/introduction/explanation.md) +- [Maps](en/testing/maps/introduction.md) + - [Basics](en/testing/maps/basics.md) +- [Antagonists](en/testing/antags/introduction.md) + - [Basics](en/testing/antags/basics.md) + Robust Toolbox ============== diff --git a/src/en/testing/antags/basics.md b/src/en/testing/antags/basics.md new file mode 100644 index 00000000..38b70037 --- /dev/null +++ b/src/en/testing/antags/basics.md @@ -0,0 +1,11 @@ +# Basic Antagonist Testing + +This section is intended to contain information about the basics of testing various antag features in SS14. + +## How do I test a round scenario like Nukies? + +In the game terminal: + +- `sudo cvar game.lobbyenabled true` +- `restartroundnow` +- `forcepreset Nukeops` diff --git a/src/en/testing/antags/introduction.md b/src/en/testing/antags/introduction.md new file mode 100644 index 00000000..8b305960 --- /dev/null +++ b/src/en/testing/antags/introduction.md @@ -0,0 +1,3 @@ +# Testing Antags + +This section is intended to contain information about how to test various antagonist features. diff --git a/src/en/testing/introduction/explanation.md b/src/en/testing/introduction/explanation.md new file mode 100644 index 00000000..bbb2dc99 --- /dev/null +++ b/src/en/testing/introduction/explanation.md @@ -0,0 +1,5 @@ +# Testing SS14 + +Testing code is critical to a software application's long-term viability. SS14 is, from a developer's perspective, a complex game with many moving parts; all the more reason to ensure it's well tested. The motivation of this section is to add testing documentation to help streamline the testing process, and minimize redundant questions about basic yet integral testing concepts. + +Contributions to this section should seek to elucidate various non-obvious testing concepts, and provide answers to various general "How do I test X?" kinds of questions. If you need to test something, but you're not sure how, look here. If the answer isn't here, add it! diff --git a/src/en/testing/maps/basics.md b/src/en/testing/maps/basics.md new file mode 100644 index 00000000..85b18a72 --- /dev/null +++ b/src/en/testing/maps/basics.md @@ -0,0 +1,16 @@ +# Basic Map Testing + +This section is intended to contain information about the basics of testing various maps in SS14. + +## How do I load maps? + +So you start the application, and are able to boot into that development room right? Cool. Now how do you boot into a different map. + +There are a lot of console commands you can run from the terminal to +initiate various behaviors. In this case, we want to run a command to +switch maps. To open the terminal, press the backtick " ` " key. + +Then the commands are as follows. +- `Forcemap ` <-- to set the map to switch to +- `restartroundnow` <-- to go back to the lobby +- `startround` <-- to start the next round \ No newline at end of file diff --git a/src/en/testing/maps/introduction.md b/src/en/testing/maps/introduction.md new file mode 100644 index 00000000..f9a02086 --- /dev/null +++ b/src/en/testing/maps/introduction.md @@ -0,0 +1,3 @@ +# Testing Maps + +This section is intended to contain information about how to test maps, specifically.