Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#85 Add a Testing section to the Wiki #86

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
==============

Expand Down
11 changes: 11 additions & 0 deletions src/en/testing/antags/basics.md
Original file line number Diff line number Diff line change
@@ -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`
3 changes: 3 additions & 0 deletions src/en/testing/antags/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Testing Antags

This section is intended to contain information about how to test various antagonist features.
5 changes: 5 additions & 0 deletions src/en/testing/introduction/explanation.md
Original file line number Diff line number Diff line change
@@ -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!
16 changes: 16 additions & 0 deletions src/en/testing/maps/basics.md
Original file line number Diff line number Diff line change
@@ -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 <mapname>` <-- to set the map to switch to
- `restartroundnow` <-- to go back to the lobby
- `startround` <-- to start the next round
3 changes: 3 additions & 0 deletions src/en/testing/maps/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Testing Maps

This section is intended to contain information about how to test maps, specifically.