首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏后端开发随笔

    maven打包子模块中的class文件

    例如,存在如下结构的maven多模块项目: --test-root --test-account(账户模块) --test-report(报表模块) --test-web(页面模块) test-web模块同时依赖了test-account,test-report,所有模块的包名前缀都相同,便于在test-web配置根据包名自动扫描装配bean。 默认情况下,test-account和test-report两个模块都会以jar包的形式添加到test-web/WEB-INF/lib目录下。 但是,此时一旦在test-web模块中通过自动注入bean的方式引用test-account和test-report中的组件,将会报java.lang.NullPointerException异常。 也就是说,test-account和test-report中的组件并没有被自动注入,这是因为test-account和test-report中的组件并没有被spring自动扫描到并进行装配。

    2.6K30发布于 2019-09-11
  • 来自专栏Python自动化测试

    unittest测试驱动之HTMLTestRunner.py(五)

    suite=unittest.makeSuite(DemoPage) #定义自动化报告目录 filename='D:\\git\\PyCharm\\SeleniumHq\\Test-report description=u'自动化测试报告' ) runner.run(suite) 执行成功后,自动化的测试报告在D:\\git\\PyCharm\\SeleniumHq\\Test-report

    1.4K30发布于 2018-10-25
  • 来自专栏测试邦

    搭建自动化测试持续集成项目

    /result/test-report</reportsDirectory> </configuration> 3.5.4 构建后操作 ?

    85121发布于 2019-08-19
  • 【利用AI编写接口测试用例的实践指南】

    pytest --junitxml=report.xml - uses: actions/upload-artifact@v3 with: name: test-report

    59211编辑于 2025-12-17
  • 来自专栏北京宏哥

    Java自动化测试框架-10 - TestNG之测试结果篇

    这是一个示例,以及创建此报告的ant任务: <target name="reports"> <junitreport todir="<em>test-report</em>"> <fileset dir="test-output "> <include name="*/*.xml"/> </fileset> <report format="noframes" todir="<em>test-report</em>

    1.8K40发布于 2019-11-12
  • 来自专栏Java课堂

    3 分钟生成一个单元测试报告,这个样式爱了

    ExtentTestNGIReporterListener implements IReporter { //生成的路径以及文件名 private static final String OUTPUT_FOLDER = "target/test-report calendar.setTimeInMillis(millis); return calendar.getTime(); } } 会在指定的目录 target/test-report

    1.7K30发布于 2020-08-26
  • 来自专栏Java课堂

    3 分钟生成一个单元测试报告,这个样式爱了

    ExtentTestNGIReporterListener implements IReporter { //生成的路径以及文件名 private static final String OUTPUT_FOLDER = "target/test-report calendar.setTimeInMillis(millis); return calendar.getTime(); } } 会在指定的目录 target/test-report

    1.4K20发布于 2020-08-20
  • 来自专栏AllTests软件测试

    接口自动化测试Postman+Newman+Jenkins

    输入执行命令(报告输出到test-report目录里): newman run D:\test\Demo.postman_collection.json -e D:\test\Test.postman_environment.json \test-report\TestReport.html 构建后操作,增加构建后操作步骤(Publish HTML reports)。发布HTML报告。 最后保存即可。

    2.3K30编辑于 2022-07-25
  • 来自专栏7DGroup

    走进Java接口测试之TestNg自定报告简单学习

    xmlSuites, List<ISuite> suites, String outputDirectory) { File htmlReportDir = newFile("test-output/Test-report

    99710发布于 2019-10-22
领券