Designing IA for AI - Information Architecture Conference 2024
FlexUnit 4 for contributors
1. FlexUnit 4 for Contributors Michael Labriola Digital Primates twitter.com/mlabriola blogs.digitalprimates.net/codeSlinger/
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29. With Listeners Core Request.iRunner (Suite) Suite A Suite B BlockRunner 1 BlockRunner 2 BlockRunner 3 Suite C BlockRunner 7 BlockRunner 8 Tests Tests Tests Tests Tests UIListener XMLListener CIListener RunNotifier Update a UI Send Data to Server Send Data to Flash Builder Request Runner:Suite Test Suite A Test Case 1 Test Test Test Test Test Case 2 Test Test Test Test Test Case 3 Test Test Test Test Test Suite C Test Case 7 Test Case 8 Test Suite B Test Case 4 Test Test Test Test Test Case 5 Test Test Test Test Test Case 6 Test Test Test Test Test Suite D Test Case 9 Test Case 10
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
Editor's Notes
test is to method as Strictly: one test per branch through code so an if statement will usually mean that you should have multiple tests per method
Test cases are normally contain more that one test
Usually test cases are associated with classes, and each tests in the class exercises a piece of functionality of the class
Test suites are usually associated with applications and normally contain multiple test cases for each of the classes used in the application.
Point out test is to method as -> many method tests per class test case is to class as -> many class tests per application test suite is to application -> possibly multiple test suite
This is a simplified view test runners not shown test cases in the same suite may be run by different runners.
Technically one could disallow the suite method, but this describes default behavior