Grey box testing web applications deployed to Google App Engine

Last post I stated:

Due GAE’s limitations on CPU time/cycles and an overall maximum limit of 10 seconds to fulfill a request a non-trivial set of unit tests will exceed the quotas if they are all run at the same time, so its necessary to run them in separate requests.

But in the two tests I’ve been developing most recently, which appear to qualify more as grey box tests then unit tests, each test causes a GAE data store timeout, so now I need to modify my server side test infrastructure and my HTTP server side test client ( hsstrun.py ) to support running tests that have sub-parts.

Even if what I’m testing doesn’t work out it seems like this test infrastructure will be useful to future GAE projects and any other web app platfrom where the developer can’t create a test environment matching the production environment.

Advertisements
This entry was posted in Coding, Web development and tagged , , , , , , , , , . Bookmark the permalink.

Have something to say?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s