Data Driven Policy Tests
Reported by Ben Hood | January 19th, 2011 @ 09:50 AM | in 0.9.3
Following on from #148 and #154, we need to:
-
Introduce JUnit theory based tests to be able to test
- Different types of constraints and categories
- Multiple categories at once
-
Introduce scenario specifications to eliminate the duplication of the current test flow
- For example, mutate elements of the generic scenario in order to synchronize various different levels of the test, hence removing the need to perform custom mutation within specific tests
Comments and changes to this ticket
-

Ben Hood January 19th, 2011 @ 01:29 PM
- Milestone cleared.
- Milestone order changed from 37 to 0
-

Ben Hood January 20th, 2011 @ 11:31 AM
(from [1cbc161e4554fc605c200350031537847504831b]) [#158] Initial cut of theories test with a scenario definition and theory on top-level synchronisation. https://github.com/lshift/diffa/commit/1cbc161e4554fc605c2003500315...
-

Ben Hood January 20th, 2011 @ 11:48 AM
(from [82c51981f04c1e9936d34a1064f86e17c873f5a5]) [#158] Support integer categories too. https://github.com/lshift/diffa/commit/82c51981f04c1e9936d34a1064f8...
-

Ben Hood January 20th, 2011 @ 12:41 PM
(from [f9d41b13f3d597825b13fa8c373a9e29b1cf0dab]) [#158] Add empty state synchronisation theory. https://github.com/lshift/diffa/commit/f9d41b13f3d597825b13fa8c373a...
-

Ben Hood January 20th, 2011 @ 02:40 PM
(from [7ec30021f578f89c86d71134a1f10625344ad9a9]) [#158] Check for upstream entities being out of date. https://github.com/lshift/diffa/commit/7ec30021f578f89c86d71134a1f1...
-

Ben Hood January 20th, 2011 @ 02:40 PM
(from [233c3ebfac557fd81818ecdd97c253737d095fd3]) [#158] Calculate bucket versions dynamically to cleanup specification and allow for mutation. https://github.com/lshift/diffa/commit/233c3ebfac557fd81818ecdd97c2...
-

Ben Hood January 20th, 2011 @ 02:41 PM
(from [1faa06b6168826a471bf6fbf06316b909a7f1548]) [#158] Check for downstream entities being out of date. https://github.com/lshift/diffa/commit/1faa06b6168826a471bf6fbf0631...
-

Ben Hood January 20th, 2011 @ 02:51 PM
(from [46959fa7fb245f585d8ee05269f68e41825d4b78]) [#158] Add integers and dates scenario. https://github.com/lshift/diffa/commit/46959fa7fb245f585d8ee05269f6...
-

Paul Jones January 20th, 2011 @ 03:59 PM
- State changed from new to open
- Assigned user set to Ben Hood
The initial cut of this is ready for review. A few more tests could probably be ported over to it before we merge, but ensuring we're happy with the format might be a good idea now.
-

Ben Hood January 21st, 2011 @ 08:52 AM
(from [dd4eb6920c7f4a71230b8cab54237b1d6b2354b1]) [#158] Use varargs in Tx definitions to remove lots of Seq() wrappers. https://github.com/lshift/diffa/commit/dd4eb6920c7f4a71230b8cab5423...
-

Ben Hood January 24th, 2011 @ 10:26 AM
(from [38bb3bb264f326a06aeaf187e2ef6513e1388a8a]) [#158] Remove tests that have been replaced by the data-driven variety. https://github.com/lshift/diffa/commit/38bb3bb264f326a06aeaf187e2ef...
-

Paul Jones January 24th, 2011 @ 10:34 AM
- State changed from open to resolved
Superceded tests removed, and current master merged in.
-

-

Ben Hood January 24th, 2011 @ 01:35 PM
- State changed from resolved to closed
- Tag set to tests
I've made some minor changes to the merge commit inline.
This ticket is OK for merging into master, because it addresses the scope of the ticket, though I have created a follow on ticket (#163) to port more of the existing tests to the new data driven framework.
QA+
-

Ben Hood February 4th, 2011 @ 02:48 PM
- Milestone set to 0.9.3
- Milestone order changed from 10 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.
People watching this ticket
Tags
Referenced by
-
148
Multiple query constraints
In order to keep this ticket tractable, we'll merge the c...
-
158
Data Driven Policy Tests
(from [1cbc161e4554fc605c200350031537847504831b])
[#158] ...
-
158
Data Driven Policy Tests
(from [82c51981f04c1e9936d34a1064f86e17c873f5a5])
[#158] ...
-
158
Data Driven Policy Tests
(from [f9d41b13f3d597825b13fa8c373a9e29b1cf0dab])
[#158] ...
-
158
Data Driven Policy Tests
(from [7ec30021f578f89c86d71134a1f10625344ad9a9])
[#158] ...
-
158
Data Driven Policy Tests
(from [233c3ebfac557fd81818ecdd97c253737d095fd3])
[#158] ...
-
158
Data Driven Policy Tests
(from [1faa06b6168826a471bf6fbf06316b909a7f1548])
[#158] ...
-
158
Data Driven Policy Tests
(from [46959fa7fb245f585d8ee05269f68e41825d4b78])
[#158] ...
-
158
Data Driven Policy Tests
(from [dd4eb6920c7f4a71230b8cab54237b1d6b2354b1])
[#158] ...
-
161
String based category function
#158 - so that the test framework is less
verbose
-
158
Data Driven Policy Tests
(from [38bb3bb264f326a06aeaf187e2ef6513e1388a8a])
[#158] ...
-
163
Deprecate AbstractPolicyTest
After #158 has landed it would be nice to factor out
all ...
-
163
Deprecate AbstractPolicyTest
After #158 has landed it would be nice to factor out
all ...
-
158
Data Driven Policy Tests
(from [489926066a25793cc480b4a2d48eeb981edc2312])
Merged ...