• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 16:21
CET 22:21
KST 06:21
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Winners2Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!20$5,000+ WardiTV 2025 Championship5[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
TL.net Map Contest #21: Winners Starcraft, SC2, HoTS, WC3, returning to Blizzcon! RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
$5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1430 users

Test automation and starcraft?

Blogs > foom
Post a Reply
foom
Profile Blog Joined September 2006
United States47 Posts
October 29 2011 03:09 GMT
#1
These past two days I had a chance to go to the leading test automation conference in the world, GTAC, and got to meet a bunch of brilliant people in the industry. I hope to aim this discussion at people who are unfamiliar with this field and certainly not technical experts. I have not designed anything, nor do I have anything cool to show. The technical aspects are daunting, but I just wanted to give you guys some food for thought.

For those of you unfamiliar with test automation the general idea is that products of all kinds need some sort of testing in order to make sure it works properly. A lot of this type of testing is done manually whereby an individual is hired or contracted by a company to break that company's products. At some point people started to ask, "wouldn't it be great if there was a way we could test our products automatically every time we make a change to it?" Automation testing is the concept that came out of that. Let's make sure things work faster and with less effort.

In my field, test automation relates to making sure websites operate as they should. Let's take TL as an example. There's a bunch of functionality that needs to be checked every time a developer makes a change to how the site works. Users should be able to login, search fields should work as intended, the navigation bars should update properly, you should only see live streams of those who are online.

One question you may ask is why would changing something related to login affect search fields? Well perhaps they share some of the same tools. As any product becomes complex it becomes harder to track the effects of one change. Imagine changing a busy two-way city street into a one-way street that has fewer lanes. Some people might be delayed with the increased traffic. Others might choose to avoid the street entirely and change what roads they take. People might need to reschedule appointments which would then affect surrounding businesses and not just people on the road.

Wouldn't it be nice if every time someone made a change various programs ran to check and make sure users could still login properly, navigation around the product and various features worked as intended? Almost all technological products can leverage this in some way.

What if we did this for starcraft?

What if every time someone removed a mineral patch from a map, that map ran test games from that base location for every race and every possible build order and gave you organized results about changes in timing?

What if every time someone came up with a new popular build people could test that build on every single map ever used in competitive play?

Obviously it would be near impossible to simulate even a fraction of the possibilities if you consider an opponent who is adapting to what you do, but if we consider how far along some of the AI work in starcraft has come, we can test simple cases. Already we have competitions that focus on micro battles between certain subsets of units that can determine the victor.

If we had a framework to run these types of automated tests for starcraft, perhaps we could change and evolve the game we know and love at a rate unheard of.


**
AcrossFiveJulys
Profile Blog Joined September 2005
United States3612 Posts
October 29 2011 05:20 GMT
#2
The problem here isn't the test automation portion. For this case, that's trivial; you just run simulations a certain number of times to get statistical significance for your suite of tests. But like you said these kinds of tests require sophisticated AIs that can play at a human level for the results to be meaningful, and believe me, we are extremely far from that level. The AIs made for bw/sc2 aren't really true AIs, they are in large part hand coded and incapable of adapting to novel situations.
phiinix
Profile Blog Joined February 2011
United States1169 Posts
October 29 2011 05:26 GMT
#3
Will never happen, and will never be attempted. You can't even being to fathom testing every build possible because the number of things you can do in a game of sc explodes exponentially with every second. Almost literally.

Maybe your examples could be better or I could just not fully understand the concept, but what's the point of removing a mineral patch? If you could collect data on the difference in income, does that even do anything for you? Applying it to balance is something so technical that it isn't needed, and I can't see why you would want that type of information otherwise.
In terms of running builds on every map, what does that change? Every map has a base, natural, and 3rd available with the same exact number of mineral fields and gas geysers, (maybe with the exception of terminus and crevasse, but that's besides the point) and build viability is based on income. Sure we've seen that some builds work "better" on some maps, but that's because of micro. And computers can't simulate that, because no human thinks alike in their decision making, which goes back to the first 2 thoughts on practicality and possibility.

I can't see why you would ever want to use results from an automated test anyway, a computer won't be able to tell the difference in what's "good" or not.
ZaplinG
Profile Blog Joined February 2005
United States3818 Posts
October 29 2011 05:32 GMT
#4
we could analyze replays from a specific person and learn their exact tendencies using averages in macro analysis, as well as micro. Using these specific averages, you could hash out a few build orders using data collection methods in game while the cpu is playing, essentially creating perfectly recreated progamers. You could then battle these ai against each other and see who is the best lol like setting your favorite soccer teams on fifa both to AI and seeing who wins.
Don't believe the florist when he tells you that the roses are free
foom
Profile Blog Joined September 2006
United States47 Posts
October 29 2011 05:48 GMT
#5
The idea isn't to test the intricate cases, that's more along the lines of exploratory testing and would need human interaction. The examples I chose were insufficient unfortunately. So let me try to present it a bit differently.

Let's revisit the case of a map maker utilizing tests of this nature. The computer isn't able to tell what is "good" or not. That's not the role of the test. An automated test is a scenario laid out by a human to check and see if the desired result was reached. Once scripted the idea is that this can be run trivially and can be reused.

Complicated AI isn't what I'm trying to get after. That would encompass something a lot grander like end to end testing. The idea is a lot of small tests to figure out very specific components of the game and if automated properly the cost of running these tests should be trivial. Automating a single player to do a specific build can be beneficial in terms of determining timing. In this case you can gather the raw data for a specific build and gather metrics on how well that build performs in each location.

Does this help clear it up a bit?
phiinix
Profile Blog Joined February 2011
United States1169 Posts
October 29 2011 06:22 GMT
#6
I still don't really understand how you use it. As a map maker, what is it that you would want to test? What kind of desired results are we looking for?

As far as benefits from determining timings, I (terran) base most of my builds off of an upgrade timing. Lets say I wanted to make a 9:00 push with +1 and shields, with marines and hellions. I know that I want my +1 and shields to be done at exactly 9:00, so I start them at 6:30 and 7:10. I also get additional rax as i can afford, while always building units out of my rax, fact, cc, and not getting supply blocked. As I push I'll expand behind it. What exactly is the automator suppose to be able to do that I can't do myself?
For me personally, when I make builds, the hard part is more about surviving various rushes and finding ways to scout/react than it is about getting the timing right, which requires another player, not a computer
foom
Profile Blog Joined September 2006
United States47 Posts
October 29 2011 07:10 GMT
#7
In the first case, let's consider one of the simplest examples, how long does it take different types of units to get from one end of the map to the other. I can see that being useful in determining objectively how defensible a position is.

So timing benefits don't just strictly benefit players. Perhaps as events mature they want to change the metagame and promote significantly longer or shorter matches. While simple tests can't tell you everything, they can give you a good portion of a baseline. You want +1 shields with a specific amount of marines and hellions, in what ways can the map be changed in order to make that 9 minute timing an 8 minute timing, or a 10 minute timing?

Again the idea with a lot of these smaller tests is to test very small, very specific factors that you may want to consider. I'm not trying to make a list of all the different things you can test, just pointing out if small tests that have some value can be run trivially why not do it?

Also, there can be thought put into what constitutes a small test, what makes it valuable, what reasonable cases should be considered? All of these are good questions to ask.
phiinix
Profile Blog Joined February 2011
United States1169 Posts
Last Edited: 2011-10-29 07:59:46
October 29 2011 07:58 GMT
#8
Measuring the rush distances on a map take about 3 minutes to do in real life anyway, open up the map, send a worker to each base straight out and watch the time. I can't really see a map maker creating a map in which a main goal is to change a 9:00 push into a 10:00 push for purposes of forcing the meta-game to shift or promoting different game lengths, but I could be wrong. On the players perspective, changing your initial upgrade time by 1 minute isn't too hard of a change anyway.

Maybe there are the "very small, very specific factors" I want to test but for the life of me I can't think of any that a automaton without a complicated AI would be able to do that I can't.

Cases aren't valuable and have no need to be looked into if it doesn't improve game play and can not be implemented in a useful fashion. Maybe an automaton would be able to tell me that if my marine is full health at a watch tower and 2 zerglings without speed come, I can make it back home, but I can't imagine it making a difference on my game play, and is nowhere near game breaking. If the situation ever comes up I'll pick 1 or the other, and I'll find out that way.

Maybe the automaton idea isn't so impossible after all, but now I'm starting to think it's not a very useful one.
Please log in or register to reply.
Live Events Refresh
LAN Event
18:00
Day 3: Ursa 2v2, FFA
SteadfastSC468
IndyStarCraft 173
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 484
SteadfastSC 468
White-Ra 185
IndyStarCraft 173
ProTech116
ROOTCatZ 57
Railgan 57
StarCraft: Brood War
Shuttle 460
UpATreeSC 146
Bonyth 89
ivOry 14
Dota 2
Dendi1127
Counter-Strike
pashabiceps1072
Foxcn126
Super Smash Bros
Liquid`Ken17
Heroes of the Storm
Liquid`Hasu545
Other Games
tarik_tv4097
Beastyqt765
fl0m727
FrodaN389
shahzam363
Pyrionflax191
KnowMe163
ToD162
ArmadaUGS119
C9.Mang0104
Mew2King75
Trikslyr64
OptimusSC21
Organizations
Counter-Strike
PGL158
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• Adnapsc2 11
• Reevou 9
• Dystopia_ 5
• musti20045 3
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2944
• Ler95
League of Legends
• TFBlade1040
Other Games
• imaqtpie1392
• Scarra488
• WagamamaTV339
• Shiphtur214
Upcoming Events
OSC
39m
Replay Cast
1h 39m
OSC
14h 39m
LAN Event
17h 39m
Korean StarCraft League
1d 5h
CranKy Ducklings
1d 12h
LAN Event
1d 17h
IPSL
1d 20h
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
1d 22h
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
2 days
[ Show More ]
Sparkling Tuna Cup
2 days
WardiTV Korean Royale
2 days
LAN Event
2 days
IPSL
2 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
2 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
3 days
Wardi Open
3 days
WardiTV Korean Royale
4 days
Replay Cast
5 days
Kung Fu Cup
5 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
6 days
The PondCast
6 days
RSL Revival
6 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.