ABConditionalTest

@objc(FWABConditionalTest)
@objcMembers
public class ABConditionalTest : NSObject

AB条件测试类

Accessor

  • 测试名称

    Declaration

    Swift

    public let name: String
  • 默认版本

    Declaration

    Swift

    public let defaultVersion: ABVersion

Lifecycle

Public

  • 添加版本和条件处理闭包

    Declaration

    Swift

    public func addVersion(_ version: ABVersion, condition: @escaping (Any?) -> Bool)
  • 运行测试

    Declaration

    Swift

    public func run(value: Any?)