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.
Filed under: Programming, Web development | Tagged: App Engine, AppEngine, GAE, Google App Engine, grey box test, grey box testing, Python, Testing, Unit Test, Unit Testing