Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've got to ask: could you share what app or at least industry that app is in? I've never seen 134,000 test cases before for a web app, and 220,000 assertions to boot. What's the ratio of test cases to code? It sounds like a record to me!


Financial services. Test ratio is 1 test per 6 loc.

Not a record. There are some seriously big apps behind closed doors. Its a different world to the public facing web.


Facebook is composed of around 10 million lines of code [1] - the public facing web is big.

I've no doubt Google looks at that and thinks it's almost trivially small (Chromium alone is 6.5 million lines [2]).

There's big apps in private, but very few companies are at that scale.

1 - http://www.quora.com/How-large-is-Facebooks-codebase

2 - http://www.ohloh.net/p/chrome


I've worked in a number of medium to large financial institutions, and 10M LOC is nothing, really. They had subsystems that were bigger than that by a factor of 2.


yes one of our 3rd party quoting engines' source tops 20mloc of java.

Facebook is a really simple project compared to most of these sort of things.


I have to wonder how many of those tests are merely performing the kinds of checks that the compiler would automatically perform were a compiled language like, say, C# or Java being used instead of Ruby.


It's written in c#!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: