# Orbited Tests

What
Here are some tests for Orbited. The first rule of Orbited is never commit anything that breaks these tests. The second rule of Orbited is never commit anything that breaks these tests. If you think Orbited is broken, try to reproduce your problem with these tests. If there's some case that these tests don't cover, tell us and we'll make a new test set.
How
Always use orbited-debug.cfg. If there's a test case that orbited-debug.cfg doesn't support, tell us and we'll fix it.
Open up your hosts file:

- Linux - /etc/hosts
- Windows - %SystemRoot%\system32\drivers\etc\hosts
- Mac OSX - /private/etc/hosts

Modify your hosts file to point www.orbited, sub.www.orbited, and xp.orbited at 127.0.0.1.
Where
Automated Socket Tests:

- Same Domain
- Cross-Port
- Cross-Subdomain

Freeform Socket Tests:

- Same Domain
- Cross-Port
- Cross-Subdomain

Transport Tests:

- XHR Stream (Firefox)
- HTMLFile (IE)
- SSE (Opera)
- Long Poll
- Poll

Component Tests:

- B64 Test
- UTF8 Test