会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 2. 发明申请
    • DECLARATIVE TESTING USING DEPENDENCY INJECTION
    • 使用依赖性注射的声明测试
    • US20130042152A1
    • 2013-02-14
    • US13206283
    • 2011-08-09
    • Lukás FrycPavol Pitonak
    • Lukás FrycPavol Pitonak
    • G06F11/36
    • G06F11/3684G06F11/3624G06F11/3688G06F11/3696
    • Methods and systems for declarative testing using dependency injection are described. In one embodiment, a computing system inspects a first annotation that declares an injection point in source code of a test subject and a second annotation that declares a set of test values to be injected at the injection point. The first and second annotations are metadata in an input domain and are added in a designated place in the source code. The computing system executes a test runner that creates a set of one or more tests during a configuration phase based on the inspection of the source code, including the first and second annotations. Each of the set of tests includes one of the test values injected at the injected point as declaratively provided by the second annotation. The set of tests are to be executed during a run phase.
    • 描述使用依赖注入的声明性测试的方法和系统。 在一个实施例中,计算系统检查在测试对象的源代码中声明注入点的第一注释和声明要在注入点注入的一组测试值的第二注释。 第一和第二注释是输入域中的元数据,并被添加到源代码中的指定位置。 计算系统执行测试运行器,其基于对源代码的检查(包括第一和第二注释)在配置阶段期间创建一组或多个测试。 每组测试包括在注入点处注入的测试值之一,由第二注释声明性地提供。 一组测试将在运行阶段执行。