You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Todd Nine (JIRA)" <ji...@apache.org> on 2014/12/10 18:35:13 UTC
[jira] [Created] (USERGRID-273) Cleanup Test harness and create a
more declarative test framework
Todd Nine created USERGRID-273:
----------------------------------
Summary: Cleanup Test harness and create a more declarative test framework
Key: USERGRID-273
URL: https://issues.apache.org/jira/browse/USERGRID-273
Project: Usergrid
Issue Type: Story
Components: Stack
Reporter: Todd Nine
Assignee: Todd Nine
Currently our test harnesses are a mess of spaghetti. We need to decouple this mess, and allow us to cleanly define the rules and requirements of our system. I think we need to break it down into the following behaviors.
h1. Runtime environment
h2. Parallel
This should be the default behavior. All tests are assumed to be parallel
h2. Sequential Isolated execution
This should be the exception, and only used when parallel execution cannot be accomplished. Tests in this classification should run in a method at a time, with no concurrency
h1. External resources
h2. Cassandra
# Configure the runtime
# Pre invocation hook
## Create default implementation of truncating column families. This should be manually added, and not execute by default.
# Post invocation hook
h2. ElasticSearch
# Configure the runtime
# Pre invocation hook
## Create default implementation of truncating column families. This should be manually added, and not execute by default.
# Post invocation hook
h1. Lifecycle
A test itself can have numerous lifecycle operations. These should be set up as rules, both class and instance, and should NOT be done via inheritance of abstract tests. This is the old Junit3 way of operating, and needs removed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)