Save results of A/B test runs in a JSON file for future processing (#56416)
This commit is contained in:
@@ -8,7 +8,7 @@ import 'common.dart';
|
||||
|
||||
void main() {
|
||||
test('ABTest', () {
|
||||
final ABTest ab = ABTest();
|
||||
final ABTest ab = ABTest('engine', 'test');
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
ab.addAResult(<String, dynamic>{
|
||||
@@ -28,6 +28,7 @@ void main() {
|
||||
'benchmarkScoreKeys': <String>['i', 'k'],
|
||||
});
|
||||
}
|
||||
ab.finalize();
|
||||
|
||||
expect(
|
||||
ab.rawResults(),
|
||||
|
||||
Reference in New Issue
Block a user