Testing the lower strategies
Once you identify the point in the framework where you are seeing unexpected results, you may want to test that sub-strategy and perhaps some related strategies.
The simplest way to ensure that your external input strategy has executed each of the steps prior to the one you want to test is to actually use the NBA Strategy Framework itself as the input strategy, and specify the single component to use within the strategy as the one immediately prior to the one you wish to test.
The problem with this is that the NBA Strategy Framework has an External Input component, and there is no way to specify an external input strategy within an external input strategy. To overcome this, you will need to make a copy of the NBA Strategy Framework strategy, disable external input, and then provide a set of actions to use as input for the tests. For more information, see the following topics:
- Creating a test strategy for selecting actions
Testing the lower strategies in the NBA Strategy Framework requires that you create a strategy that includes the set of actions against which to test.
- Creating an External Input strategy to test the framework
Once the actions source is available, you can use this to replace the External Input in the NBA Strategy Framework.
- Testing the Action Scoring component
This section provides an example of how to test a sub-strategy with the NBA Strategy Framework. A similar technique can be used for strategies other than Action Scoring.
- Testing a strategy within a lower-level strategy
To test a strategy that is called from within a lower level NBA Strategy Framework strategy, some minor extensions to the External Input NBA Framework Test strategy are required.
- Testing the Final Action Limits And Bundling strategy
This is the last component of the trigger strategy, invoked after the processing for each of the individual action contexts has been merged. It may be tested using a similar technique to that used for testing the NBA Strategy Framework.
- Testing the strategies within Final Action Limits And Bundling
Once you identify the point in the Final Action Limits And Bundling strategy where you are seeing unexpected results, test that sub-strategy and related strategies.
Previous topic Understanding the NBAStrategyFramework component test results Next topic Creating a test strategy for selecting actions